From 03273ff52917ed18d0871d2000ad2cbc61d8a3a1 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 23 Nov 2019 11:08:55 +0000 Subject: [PATCH] gnunet-helper-exit: check for linux-specific define on linux. --- src/exit/gnunet-helper-exit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.25.1