summaryrefslogtreecommitdiff
path: root/common/spio.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2010-11-01 17:48:43 +0000
committerStef Walter <stef@thewalter.net>2011-01-23 15:47:45 -0600
commit98aa28ac8799d5d69687c1205beeef4441d25b4d (patch)
tree0a72dccef26595387b72bfe7c196c5f6b1d2b8bf /common/spio.c
parent9d4b9da123d4bab1c7194f040b6b64327de47d47 (diff)
Fix problems with the build of IP_TRANSPARENT support.
Diffstat (limited to 'common/spio.c')
-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>