mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Fix compilation on platforms without IP6T_SO_ORIGINAL_DST
This commit is contained in:
parent
9545569d73
commit
6285d9bdcf
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user