lkml.org 
[lkml]   [2003]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.044 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site