From 84f070020500de40e69e6d00df9d41ecc90a3b23 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 6 May 2000 21:46:09 +0000 Subject: IPv6 support compiles on both glibc 2.0 and 2.1. --- TODO | 4 ---- sysdep/linux/sysio.h | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 72ab694..29a93dc 100644 --- a/TODO +++ b/TODO @@ -7,10 +7,6 @@ Core - krt: rescan interfaces when route addition fails? -- tagging of external routes? - -- configure: IPv6 on glibc 2.0? - - Makefile: install target? - forgetting device routes??? 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 +#define CONFIG_IPV6_GLIBC_20 #endif static inline void -- cgit v1.2.3