From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2] iproute2: fixes to compile on some systems. Date: Mon, 20 Nov 2017 10:41:26 -0800 Message-ID: <20171120104126.61831fd2@xeon-e3> References: <20171120035707.23563-1-lorenzo@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Lorenzo Colitti Return-path: Received: from mail-pg0-f65.google.com ([74.125.83.65]:33833 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752539AbdKTSle (ORCPT ); Mon, 20 Nov 2017 13:41:34 -0500 Received: by mail-pg0-f65.google.com with SMTP id 4so8065535pge.1 for ; Mon, 20 Nov 2017 10:41:34 -0800 (PST) In-Reply-To: <20171120035707.23563-1-lorenzo@google.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 20 Nov 2017 12:57:07 +0900 Lorenzo Colitti wrote: > 1. Put the declarations of strlcpy and strlcat inside > an #ifdef NEED_STRLCPY. Their declarations were already in a > similar #ifdef. > 2. In bpf_scm.h, include sys/un.h for struct sockaddr_un. > 3. In utils.h, include time.h for struct timeval. > > Tested: builds on ubuntu 14.04 with "make clean distclean; ./configure && make -j64" > Tested: 4.14.1 builds on Android with Android-specific #ifndefs for missing library code > Signed-off-by: Lorenzo Colitti Applied. Thanks for not forking