From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 2/2] Add missing include Date: Mon, 22 May 2017 10:24:42 -0700 Message-ID: <20170522102442.51d36c39@xeon-e3> References: <8afdd8babb9e82bcfde78e851b24b698436a6f9f.1495459674.git.baruch@tkos.co.il> <5cdba9c8dc972d25219517ade6129faf73f459b3.1495459674.git.baruch@tkos.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: netdev@vger.kernel.org, Thomas Petazzoni To: Baruch Siach Return-path: Received: from mail-pf0-f179.google.com ([209.85.192.179]:33723 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759608AbdEVRYu (ORCPT ); Mon, 22 May 2017 13:24:50 -0400 Received: by mail-pf0-f179.google.com with SMTP id e193so88579144pfh.0 for ; Mon, 22 May 2017 10:24:50 -0700 (PDT) In-Reply-To: <5cdba9c8dc972d25219517ade6129faf73f459b3.1495459674.git.baruch@tkos.co.il> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 22 May 2017 16:27:54 +0300 Baruch Siach wrote: > From: Thomas Petazzoni >=20 > The u_intXX_t types are defined in , so it should be > included before using those types. Otherwise, with certain C > libraries, the build fails with: >=20 > In file included from ../include/iptables.h:4:0, > from m_ipt.c:18: > ../include/iptables_common.h:47:16: error: unknown type name =E2=80=98u_i= nt32_t=E2=80=99 > #define __le32 u_int32_t >=20 > Signed-off-by: Thomas Petazzoni > Signed-off-by: Baruch Siach > --- > include/iptables_common.h | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/include/iptables_common.h b/include/iptables_common.h > index 9099667ffa6d..2c27a4b61fcd 100644 > --- a/include/iptables_common.h > +++ b/include/iptables_common.h > @@ -43,6 +43,8 @@ extern char *lib_dir; > extern void init_extensions(void); > #endif > =20 > +#include > + > #define __be32 u_int32_t > #define __le32 u_int32_t > #define __be16 u_int16_t This include file comes from netfilter, so not going to change it in iprout= e2 repo.