gnunet-helper-exit: check for linux-specific define on linux.
[oweals/gnunet.git] / src / exit / gnunet-helper-exit.c
index 9d20a0c50c942fd618217766d392025e58cd64f8..8fd8bedaaf8b938c5f9539f68cdc221824d969dc 100644 (file)
@@ -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
 {