]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
build: restore compilation of ipset, add missing CFLAGS
authorJan Engelhardt <jengelh@medozas.de>
Sat, 11 Dec 2010 17:21:21 +0000 (18:21 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Sat, 11 Dec 2010 17:23:44 +0000 (18:23 +0100)
ipset_iphash.c: In function "iphash_create_init":
ipset_iphash.c:42: error: "IP_NF_SET_HASHSIZE" undeclared (first use
in this function)

extensions/ipset/Makefile.am

index 2603ca6140806687c0224499875096e7a4d87e98..b9a7d657e97e343add8b5b864eb76c0acf3135e8 100644 (file)
@@ -1,6 +1,7 @@
 # -*- Makefile -*-
 
-AM_CFLAGS = ${regular_CFLAGS} -DIPSET_LIB_DIR=\"${xtlibdir}\"
+AM_CFLAGS = ${regular_CFLAGS} -DIPSET_LIB_DIR=\"${xtlibdir}\" \
+            -DIP_NF_SET_HASHSIZE=1024
 
 include ../../Makefile.extra