diff options
author | ng0 <ng0@n0.is> | 2019-11-23 11:08:55 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-23 11:08:55 +0000 |
commit | 03273ff52917ed18d0871d2000ad2cbc61d8a3a1 (patch) | |
tree | 5837791edeaafd8a3b557cc76432c77adc425558 /src | |
parent | 91c08abb824b6138d27573c4d09c675836186c05 (diff) | |
download | gnunet-03273ff52917ed18d0871d2000ad2cbc61d8a3a1.tar.gz gnunet-03273ff52917ed18d0871d2000ad2cbc61d8a3a1.zip |
gnunet-helper-exit: check for linux-specific define on linux.
Diffstat (limited to 'src')
-rw-r--r-- | src/exit/gnunet-helper-exit.c | 4 |
1 files 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; | |||
85 | static const char *sbin_iptables; | 85 | static const char *sbin_iptables; |
86 | 86 | ||
87 | 87 | ||
88 | #ifndef _LINUX_IN6_H | 88 | #if !defined(_LINUX_IN6_H) && defined(__linux__) |
89 | /** | 89 | /** |
90 | * This is in linux/include/net/ipv6.h, but not always exported... | 90 | * This is in linux/include/net/ipv6.h, but not always exported. |
91 | */ | 91 | */ |
92 | struct in6_ifreq | 92 | struct in6_ifreq |
93 | { | 93 | { |