Re: [PATCH] netfilter: uapi: includes linux/types.h

From: Pablo Neira Ayuso
Date: Wed May 23 2018 - 02:56:08 EST


On Wed, May 23, 2018 at 03:03:26PM +0800, YueHaibing wrote:
> gcc-7.3.0 report following warning:
> ./usr/include/linux/netfilter/nf_osf.h:27: found __[us]{8,16,32,64} type without #include <linux/types.h>
>
> includes linux/types.h to fix it.

Thanks.

There's already a fix for this in the nf-next queue.

commit 01cd267bff52619a53fa05c930ea5ed53493d21a
Author: Florian Westphal <fw@xxxxxxxxx>
Date: Tue May 8 10:05:38 2018 +0200

netfilter: fix fallout from xt/nf osf separation