summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/spio.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/spio.c b/common/spio.c
index d5c52ae..01993fb 100644
--- a/common/spio.c
+++ b/common/spio.c
@@ -47,6 +47,13 @@
#include <sys/param.h>
#include <sys/stat.h>
+#include <netinet/in.h>
+
+#ifdef HAVE_IP_TRANSPARENT
+#include <linux/types.h>
+#include <linux/netfilter_ipv4.h>
+#endif
+
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>