X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.25%2F120-netfilter-headers-types.patch;fp=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.25%2F120-netfilter-headers-types.patch;h=0000000000000000000000000000000000000000;hp=32251e37d7eec04283992f4198882ed77a399504;hb=da1bb88a2b900f0392b731ec47c5e1bff956fd8f;hpb=6117c04c9416b295347fb45c37e430f01df1d0d9 diff --git a/target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch b/target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch deleted file mode 100644 index 32251e37d7..0000000000 --- a/target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch +++ /dev/null @@ -1,80 +0,0 @@ -commit c8942f1f0a7e2160ebf2e51ba89e50ee5895a1e7 -Author: Patrick McHardy -Date: Wed May 21 14:08:38 2008 -0700 - - netfilter: Move linux/types.h inclusions outside of #ifdef __KERNEL__ - - Greg Steuck 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 - Signed-off-by: David S. Miller - ---- a/include/linux/netfilter.h -+++ b/include/linux/netfilter.h -@@ -3,7 +3,6 @@ - - #ifdef __KERNEL__ - #include --#include - #include - #include - #include -@@ -12,6 +11,7 @@ - #include - #include - #endif -+#include - #include - - /* Responses from hook functions. */ ---- a/include/linux/netfilter_arp/arp_tables.h -+++ b/include/linux/netfilter_arp/arp_tables.h -@@ -11,11 +11,11 @@ - - #ifdef __KERNEL__ - #include --#include - #include - #include - #include - #endif -+#include - #include - #include - ---- a/include/linux/netfilter_ipv4/ip_tables.h -+++ b/include/linux/netfilter_ipv4/ip_tables.h -@@ -17,11 +17,11 @@ - - #ifdef __KERNEL__ - #include --#include - #include - #include - #include - #endif -+#include - #include - #include - ---- a/include/linux/netfilter_ipv6/ip6_tables.h -+++ b/include/linux/netfilter_ipv6/ip6_tables.h -@@ -17,11 +17,11 @@ - - #ifdef __KERNEL__ - #include --#include - #include - #include - #include - #endif -+#include - #include - #include -