diff options
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 289538e6f6..62fa699e00 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -13,6 +13,17 @@ const char connection_edge_c_id[] = #include "or.h" +#ifdef HAVE_LINUX_NETFILTER_IPV4_H +#include <linux/netfilter_ipv4.h> +#define TRANS_NETFILTER +#endif + +#if defined(HAVE_NET_IF_H) && defined(HAVE_NET_PFVAR_H) +#include <net/if.h> +#include <net/pfvar.h> +#define TRANS_PF +#endif + /* List of exit_redirect_t */ static smartlist_t *redirect_exit_list = NULL; |