Fix compilation on platforms without IP6T_SO_ORIGINAL_DST

This commit is contained in:
Nick Mathewson 2014-12-23 11:36:27 -05:00
parent 9545569d73
commit 6285d9bdcf

View File

@ -55,9 +55,11 @@
#ifdef HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H #ifdef HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H
#include <linux/netfilter_ipv6/ip6_tables.h> #include <linux/netfilter_ipv6/ip6_tables.h>
#if defined(IP6T_SO_ORIGINAL_DST)
#define TRANS_NETFILTER #define TRANS_NETFILTER
#define TRANS_NETFILTER_IPV6 #define TRANS_NETFILTER_IPV6
#endif #endif
#endif
#if defined(HAVE_NET_IF_H) && defined(HAVE_NET_PFVAR_H) #if defined(HAVE_NET_IF_H) && defined(HAVE_NET_PFVAR_H)
#include <net/if.h> #include <net/if.h>