From 91e407579c48f62df4c75c49f63937009f563099 Mon Sep 17 00:00:00 2001 From: nikita Date: Fri, 1 May 2020 10:55:51 +0200 Subject: vpn, exit: Add patch from termux for Android in a slightly different way. Arguable 1st one could just be || and second one be kept as-is. https://github.com/termux/termux-packages/blob/master/packages/gnunet/no-in6_ifreq-redef.patch --- src/exit/gnunet-helper-exit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/exit') diff --git a/src/exit/gnunet-helper-exit.c b/src/exit/gnunet-helper-exit.c index d46032662..4a6c66deb 100644 --- a/src/exit/gnunet-helper-exit.c +++ b/src/exit/gnunet-helper-exit.c @@ -85,6 +85,7 @@ static const char *sbin_sysctl; static const char *sbin_iptables; +#if ! defined(__ANDROID__) #if ! defined(_LINUX_IN6_H) && defined(__linux__) /** * This is in linux/include/net/ipv6.h, but not always exported. @@ -96,6 +97,7 @@ struct in6_ifreq int ifr6_ifindex; }; #endif +#endif /** -- cgit v1.2.3