From 2b2dfd50a7e076e8c8a2676dedec70a1ded5e9be Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Wed, 10 Oct 2012 19:10:48 +0300 Subject: Expose mode kernel headers to userspace so iptables could compile cleanly Signed-off-by: Roman Yeryomin --- .../301-expose-more-headers-to-userspace.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/linux/realtek/patches-2.6.30/301-expose-more-headers-to-userspace.patch diff --git a/target/linux/realtek/patches-2.6.30/301-expose-more-headers-to-userspace.patch b/target/linux/realtek/patches-2.6.30/301-expose-more-headers-to-userspace.patch new file mode 100644 index 000000000..2b52ea1e8 --- /dev/null +++ b/target/linux/realtek/patches-2.6.30/301-expose-more-headers-to-userspace.patch @@ -0,0 +1,17 @@ +--- linux-2.6.30.9/include/asm-generic/Kbuild 2009-10-05 18:38:08.000000000 +0300 ++++ linux-2.6.30.9/include/asm-generic/Kbuild 2012-10-08 14:22:10.454906741 +0300 +@@ -1,3 +1,4 @@ ++header-y += bitsperlong.h + header-y += errno-base.h + header-y += errno.h + header-y += fcntl.h +--- linux-2.6.30.9/include/linux/netfilter/Kbuild 2012-10-08 14:20:50.699887312 +0300 ++++ linux-2.6.30.9/include/linux/netfilter/Kbuild 2012-10-08 14:20:22.872880778 +0300 +@@ -28,6 +28,7 @@ + header-y += xt_hashlimit.h + header-y += xt_iprange.h + header-y += xt_helper.h ++header-y += xt_layer7.h + header-y += xt_length.h + header-y += xt_limit.h + header-y += xt_mac.h -- cgit v1.2.3