summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-23 21:40:19 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-23 21:40:19 +0000
commit7e00a176137c85b0cb9ec039b25416708faf02bc (patch)
tree51cc80dfe4d86c9d1bc3b7c5533f4200f2fe5699
parent5da92a31009eff4b765b5a5bfd5b85e61525e884 (diff)
fix compile error in the netfilter ipset module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7318 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic-2.6/patches/013-ipset_compile_fix.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches/013-ipset_compile_fix.patch b/target/linux/generic-2.6/patches/013-ipset_compile_fix.patch
new file mode 100644
index 000000000..80cbe0c71
--- /dev/null
+++ b/target/linux/generic-2.6/patches/013-ipset_compile_fix.patch
@@ -0,0 +1,10 @@
+--- linux.old/include/linux/netfilter_ipv4/ip_set_malloc.h 2007-05-23 23:34:49.100660208 +0200
++++ linux.dev/include/linux/netfilter_ipv4/ip_set_malloc.h 2007-05-23 23:36:36.528328720 +0200
+@@ -2,6 +2,7 @@
+ #define _IP_SET_MALLOC_H
+
+ #ifdef __KERNEL__
++#include <asm/pgtable.h>
+
+ /* Memory allocation and deallocation */
+ static size_t max_malloc_size = 0;