mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Derek Atkins <derek@ihtfp.com>
Cc: Kostadin Karaivanov <larry@minfin.bg>, linux-kernel@vger.kernel.org
Subject: Re: ipsec-tools 0.1 + kernel 2.5.64
Date: Wed, 5 Mar 2003 18:27:15 +0000	[thread overview]
Message-ID: <20030305182715.A27888@infradead.org> (raw)
In-Reply-To: <sjmof4pvfx7.fsf@kikki.mit.edu>; from derek@ihtfp.com on Wed, Mar 05, 2003 at 01:15:00PM -0500

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


  reply	other threads:[~2003-03-05 18:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 18:15 Derek Atkins
2003-03-05 18:27 ` Christoph Hellwig [this message]
2003-03-05 18:43   ` Derek Atkins
2003-03-05 18:51     ` Christoph Hellwig
2003-03-05 19:00       ` Derek Atkins
2003-03-05 19:55       ` Derek Atkins
  -- strict thread matches above, loose matches on Subject: below --
2003-03-05 11:49 Kostadin Karaivanov
2003-03-05 16:05 ` Kostadin Karaivanov
2003-03-05 11:29 Andreas Jellinghaus
2003-03-05 11:28 ` bert hubert
2003-03-05 14:52   ` Derek Atkins
2003-03-05 12:47 ` James Morris
2003-03-05 19:33   ` Andreas Jellinghaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030305182715.A27888@infradead.org \
    --to=hch@infradead.org \
    --cc=derek@ihtfp.com \
    --cc=larry@minfin.bg \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®