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
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.
int ifr6_ifindex;
};
#endif
+#endif
/**
*/
#define MAX_SIZE 65536
+#if ! defined(__ANDROID__)
#ifndef _LINUX_IN6_H
/**
* This is in linux/include/net/ipv6.h, but not always exported...
unsigned int ifr6_ifindex;
};
#endif
+#endif
/**