From: ng0 Date: Sat, 23 Nov 2019 11:08:55 +0000 (+0000) Subject: gnunet-helper-exit: check for linux-specific define on linux. X-Git-Tag: v0.12.0~96 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=03273ff52917ed18d0871d2000ad2cbc61d8a3a1;p=oweals%2Fgnunet.git gnunet-helper-exit: check for linux-specific define on linux. --- diff --git a/src/exit/gnunet-helper-exit.c b/src/exit/gnunet-helper-exit.c index 9d20a0c50..8fd8bedaa 100644 --- a/src/exit/gnunet-helper-exit.c +++ b/src/exit/gnunet-helper-exit.c @@ -85,9 +85,9 @@ static const char *sbin_sysctl; static const char *sbin_iptables; -#ifndef _LINUX_IN6_H +#if !defined(_LINUX_IN6_H) && defined(__linux__) /** - * This is in linux/include/net/ipv6.h, but not always exported... + * This is in linux/include/net/ipv6.h, but not always exported. */ struct in6_ifreq {