summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-06 23:46:09 +0200
committerMartin Mares <mj@ucw.cz>2000-05-06 23:46:09 +0200
commit84f070020500de40e69e6d00df9d41ecc90a3b23 (patch)
treedf1740e35027649825781183df0b891439b90577 /sysdep
parent498c33395f99743206088770c441222c76493378 (diff)
downloadbird-84f070020500de40e69e6d00df9d41ecc90a3b23.tar
bird-84f070020500de40e69e6d00df9d41ecc90a3b23.zip
IPv6 support compiles on both glibc 2.0 and 2.1.
Diffstat (limited to 'sysdep')
-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 0e8ee3d..32bec16 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