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_ipv4 | |
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_ipv4')
-rw-r--r-- | include/linux/netfilter_ipv4/ip_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter_ipv4/ip_tables.h b/include/linux/netfilter_ipv4/ip_tables.h index bfc889f90276..092bd50581a9 100644 --- a/include/linux/netfilter_ipv4/ip_tables.h +++ b/include/linux/netfilter_ipv4/ip_tables.h @@ -17,11 +17,11 @@ #ifdef __KERNEL__ #include <linux/if.h> -#include <linux/types.h> #include <linux/in.h> #include <linux/ip.h> #include <linux/skbuff.h> #endif +#include <linux/types.h> #include <linux/compiler.h> #include <linux/netfilter_ipv4.h> |