aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6')
-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 0000000000..80cbe0c718
--- /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;