summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_dccp.c1
-rw-r--r--extensions/libxt_sctp.c1
-rw-r--r--extensions/libxt_tcp.c1
-rw-r--r--extensions/libxt_udp.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/extensions/libxt_dccp.c b/extensions/libxt_dccp.c
index e1d6457d..e33ddc35 100644
--- a/extensions/libxt_dccp.c
+++ b/extensions/libxt_dccp.c
@@ -12,6 +12,7 @@
#include <netdb.h>
#include <ctype.h>
+#include <netinet/in.h>
#include <xtables.h>
#include <linux/dccp.h>
#include <linux/netfilter/x_tables.h>
diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c
index 4f1d13f5..5bd06a37 100644
--- a/extensions/libxt_sctp.c
+++ b/extensions/libxt_sctp.c
@@ -14,6 +14,7 @@
#include <netdb.h>
#include <ctype.h>
+#include <netinet/in.h>
#include <xtables.h>
#ifndef ARRAY_SIZE
diff --git a/extensions/libxt_tcp.c b/extensions/libxt_tcp.c
index eef94a18..a720ba4e 100644
--- a/extensions/libxt_tcp.c
+++ b/extensions/libxt_tcp.c
@@ -4,6 +4,7 @@
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
+#include <netinet/in.h>
#include <xtables.h>
#include <linux/netfilter/xt_tcpudp.h>
diff --git a/extensions/libxt_udp.c b/extensions/libxt_udp.c
index 0dfa3672..37e3036c 100644
--- a/extensions/libxt_udp.c
+++ b/extensions/libxt_udp.c
@@ -4,6 +4,7 @@
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
+#include <netinet/in.h>
#include <xtables.h>
#include <linux/netfilter/xt_tcpudp.h>