]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: Move linux/types.h inclusions outside of #ifdef __KERNEL__
authorPatrick McHardy <kaber@trash.net>
Wed, 21 May 2008 21:08:38 +0000 (14:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 May 2008 21:08:38 +0000 (14:08 -0700)
commitb9135268445496f47707c2acf2dcf90cb8fed2c8
tree14774d6b3da2cc692a2ca94d8d45e00131fc3c75
parenta78454e6a1a062cf0f2d454d93bb01cc63baa8db
netfilter: Move linux/types.h inclusions outside of #ifdef __KERNEL__

Greg Steuck <greg@nest.cx> points out that some of the netfilter
headers can't be used in userspace without including linux/types.h
first. The headers include their own linux/types.h include statements,
these are stripped by make headers-install because they are inside
#ifdef __KERNEL__ however. Move them out to fix this.

Reported and Tested by Greg Steuck.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h
include/linux/netfilter_arp/arp_tables.h
include/linux/netfilter_ipv4/ip_tables.h
include/linux/netfilter_ipv6/ip6_tables.h