summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-10-10 19:10:48 +0300
committerRoman Yeryomin <roman@advem.lv>2012-12-03 00:13:25 +0200
commit2b2dfd50a7e076e8c8a2676dedec70a1ded5e9be (patch)
treebb27930af18f509ff1e8ecb99fae60a1e7b2b12b
parent61a78c8ccc8a694d60bce026cf8131978981e787 (diff)
Expose mode kernel headers to userspace so iptables could compile cleanly
Signed-off-by: Roman Yeryomin <roman@advem.lv>
-rw-r--r--target/linux/realtek/patches-2.6.30/301-expose-more-headers-to-userspace.patch17
1 files changed, 17 insertions, 0 deletions
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