aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-08-07 19:39:52 +0000
committerNick Mathewson <nickm@torproject.org>2008-08-07 19:39:52 +0000
commitb81d70addb30985ca40f52a9ea53a5a002826861 (patch)
tree2c4aa51a652633b3de561266cd1a58cd64380781 /src/or/connection_edge.c
parent48848537bc22cf4bee7ce44f1a9e2d0fef600685 (diff)
downloadtor-b81d70addb30985ca40f52a9ea53a5a002826861.tar.gz
tor-b81d70addb30985ca40f52a9ea53a5a002826861.zip
Oops. On recent linux kernels we were not detecting the linux/netfilter_ipv4.h header properly, since we needed to have in_addr and in6_addr and __u32 defined before trying to include it. Fix that.
svn:r16460
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 7fac80e960..a2bbaa3ac1 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -14,6 +14,9 @@ const char connection_edge_c_id[] =
#include "or.h"
+#ifdef HAVE_LINUX_TYPES_H
+#include <linux/types.h>
+#endif
#ifdef HAVE_LINUX_NETFILTER_IPV4_H
#include <linux/netfilter_ipv4.h>
#define TRANS_NETFILTER