Messages in this thread | | | Date | Wed, 5 Mar 2003 18:27:15 +0000 | From | Christoph Hellwig <> | Subject | Re: ipsec-tools 0.1 + kernel 2.5.64 |
| |
On Wed, Mar 05, 2003 at 01:15:00PM -0500, Derek Atkins wrote: > Hmm... What version of glibc are you using? This seems to imply that > getifaddrs() and freeifaddrs() is now in libc, where it wasn't before. > I didn't know it got added -- I wonder when that happened?
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/
| |