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_arp | |
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_arp')
-rw-r--r-- | include/linux/netfilter_arp/arp_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h index dd9c97f2d436..590ac3d6d5d6 100644 --- a/include/linux/netfilter_arp/arp_tables.h +++ b/include/linux/netfilter_arp/arp_tables.h @@ -11,11 +11,11 @@ #ifdef __KERNEL__ #include <linux/if.h> -#include <linux/types.h> #include <linux/in.h> #include <linux/if_arp.h> #include <linux/skbuff.h> #endif +#include <linux/types.h> #include <linux/compiler.h> #include <linux/netfilter_arp.h> |