summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/sysio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdep/linux/sysio.h b/sysdep/linux/sysio.h
index 0e8ee3dd..32bec160 100644
--- a/sysdep/linux/sysio.h
+++ b/sysdep/linux/sysio.h
@@ -8,8 +8,10 @@
#ifdef IPV6
-#ifdef CONFIG_IPV6_GLIBC_20
+#ifndef IPV6_UNICAST_HOPS
+/* Needed on glibc 2.0 systems */
#include <linux/in6.h>
+#define CONFIG_IPV6_GLIBC_20
#endif
static inline void