diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-08-07 19:39:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-08-07 19:39:52 +0000 |
commit | b81d70addb30985ca40f52a9ea53a5a002826861 (patch) | |
tree | 2c4aa51a652633b3de561266cd1a58cd64380781 /src/or/connection_edge.c | |
parent | 48848537bc22cf4bee7ce44f1a9e2d0fef600685 (diff) | |
download | tor-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.c | 3 |
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 |