summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/sysio.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-21 01:05:41 +0200
committerMartin Mares <mj@ucw.cz>2000-04-21 01:05:41 +0200
commitf380aa60faa41872b78155f899518b25933d18b9 (patch)
tree77122af7cbba3d464512f70044c17fe9e8c4abbb /sysdep/linux/sysio.h
parentf33c6c66020da3b10b27fba5585d20702b173c6f (diff)
downloadbird-f380aa60faa41872b78155f899518b25933d18b9.tar
bird-f380aa60faa41872b78155f899518b25933d18b9.zip
IPv6 compiles with glibc 2.1.
Diffstat (limited to 'sysdep/linux/sysio.h')
-rw-r--r--sysdep/linux/sysio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdep/linux/sysio.h b/sysdep/linux/sysio.h
index 58fb977..0e8ee3d 100644
--- a/sysdep/linux/sysio.h
+++ b/sysdep/linux/sysio.h
@@ -1,14 +1,16 @@
/*
* BIRD Internet Routing Daemon -- Linux Multicasting and Network Includes
*
- * (c) 1998--1999 Martin Mares <mj@ucw.cz>
+ * (c) 1998--2000 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#ifdef IPV6
-#include <linux/in6.h> /* FIXMEv6: glibc variant? */
+#ifdef CONFIG_IPV6_GLIBC_20
+#include <linux/in6.h>
+#endif
static inline void
set_inaddr(struct in6_addr *ia, ip_addr a)