summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorThomas Jarosch <thomas.jarosch@intra2net.com>2008-10-23 15:40:52 +0200
committerPatrick McHardy <kaber@trash.net>2008-10-23 15:40:52 +0200
commit240eee607ab7e5bb9f671b7ceba40e2940182f61 (patch)
treee66103826ea40c7dab0559115724a6c282fba593 /extensions
parentc7f0e945e01ad3ab995061e28564adba6ca5e974 (diff)
Fix compile error in libxt_iprange.c using gcc 4.3.2
In file included from libxt_iprange.c:9: ../include/linux/netfilter.h:43: error: field 'in' has incomplete type ../include/linux/netfilter.h:44: error: field 'in6' has incomplete type libxt_iprange.c: In function 'parse_iprange': libxt_iprange.c:46: error: dereferencing pointer to incomplete type libxt_iprange.c:53: error: dereferencing pointer to incomplete type libxt_iprange.c: In function 'iprange_mt4_parse': libxt_iprange.c:117: error: dereferencing pointer to incomplete type libxt_iprange.c:121: error: dereferencing pointer to incomplete type libxt_iprange.c:136: error: dereferencing pointer to incomplete type libxt_iprange.c:140: error: dereferencing pointer to incomplete type libxt_iprange.c: In function 'iprange_mt6_parse': libxt_iprange.c:167: error: dereferencing pointer to incomplete type libxt_iprange.c:171: error: dereferencing pointer to incomplete type libxt_iprange.c:186: error: dereferencing pointer to incomplete type libxt_iprange.c:190: error: dereferencing pointer to incomplete type Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_iprange.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libxt_iprange.c b/extensions/libxt_iprange.c
index 503372fe..ee87a6fc 100644
--- a/extensions/libxt_iprange.c
+++ b/extensions/libxt_iprange.c
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <getopt.h>
+#include <netinet/in.h>
#include <xtables.h>
#include <linux/netfilter.h>
#include <linux/netfilter/xt_iprange.h>