]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
gradm: fix compile error - add missing include
authorJan Engelhardt <jengelh@medozas.de>
Sat, 11 Dec 2010 00:50:29 +0000 (01:50 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Sat, 11 Dec 2010 00:50:29 +0000 (01:50 +0100)
Hooray for 2.6.34 ALIGN bug still biting.

libxt_gradm.c:84: warning: implicit declaration of function 'ALIGN'
libxt_gradm.c:84: error: initializer element is not constant
libxt_gradm.c:84: error: (near initialization for 'gradm_mt_reg.size')

extensions/libxt_gradm.c

index dc9737a1c8d3a98d0f48b193a29145dacb623f14..4f1ce603fb8ddcfd09be5b7e9b303e244d4c95ee 100644 (file)
@@ -15,6 +15,7 @@
 #include <string.h>
 #include <xtables.h>
 #include "xt_gradm.h"
+#include "compat_user.h"
 
 static void gradm_mt_help(void)
 {