diff --git a/dhcp6.c b/dhcp6.c index fa636e9e..7b235fea 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -31,10 +31,6 @@ #include #include -#ifdef __linux__ -# define _LINUX_IN6_H -# include -#endif #include #include diff --git a/ipv6.h b/ipv6.h index 088bfb3f..5c932aa2 100644 --- a/ipv6.h +++ b/ipv6.h @@ -33,7 +33,7 @@ #include -#ifdef __linux__ +#if defined(__linux__) && defined(__GLIBC__) # define _LINUX_IN6_H # include #endif diff --git a/ipv6nd.c b/ipv6nd.c index 801958f9..1dcb24a6 100644 --- a/ipv6nd.c +++ b/ipv6nd.c @@ -33,11 +33,6 @@ #include #include -#ifdef __linux__ -# define _LINUX_IN6_H -# include -#endif - #include #include #include