]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commitc8942f1f0a7e2160ebf2e51ba89e50ee5895a1e7
tree14774d6b3da2cc692a2ca94d8d45e00131fc3c75
parent4da5105687e0993a3bbdcffd89b2b94d9377faab
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