It's new in glibc 2.3
>
> @@ -78,7 +78,7 @@
> static int suitable_ifaddr6 __P((const char *, const struct sockaddr *));
> #endif
>
> -#ifdef __linux__
> +#if defined(__linux__) && !defined(HAVE_GETIFADDRS)
#ifdef <OS> is a very bad style. As you're already using autoconf
I'd suggest just checking for HAVE_GETIFADDRS
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/