diff options
author | Patrick McHardy <kaber@trash.net> | 2008-05-21 14:08:38 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-21 14:08:38 -0700 |
commit | c8942f1f0a7e2160ebf2e51ba89e50ee5895a1e7 (patch) | |
tree | 14774d6b3da2cc692a2ca94d8d45e00131fc3c75 /include/linux/netfilter.h | |
parent | 4da5105687e0993a3bbdcffd89b2b94d9377faab (diff) | |
download | linux-stable-c8942f1f0a7e2160ebf2e51ba89e50ee5895a1e7.tar.gz linux-stable-c8942f1f0a7e2160ebf2e51ba89e50ee5895a1e7.tar.bz2 linux-stable-c8942f1f0a7e2160ebf2e51ba89e50ee5895a1e7.zip |
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>
Diffstat (limited to 'include/linux/netfilter.h')
-rw-r--r-- | include/linux/netfilter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index e4c66593b5c6..0c5eb7ed8b3f 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -3,7 +3,6 @@ #ifdef __KERNEL__ #include <linux/init.h> -#include <linux/types.h> #include <linux/skbuff.h> #include <linux/net.h> #include <linux/netdevice.h> @@ -14,6 +13,7 @@ #include <linux/list.h> #include <net/net_namespace.h> #endif +#include <linux/types.h> #include <linux/compiler.h> /* Responses from hook functions. */ |