fix compile error in the netfilter ipset module
authorFelix Fietkau <nbd@openwrt.org>
Wed, 23 May 2007 21:40:19 +0000 (21:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 23 May 2007 21:40:19 +0000 (21:40 +0000)
SVN-Revision: 7318

target/linux/generic-2.6/patches/013-ipset_compile_fix.patch [new file with mode: 0644]

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 (file)
index 0000000..80cbe0c
--- /dev/null
@@ -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;