bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] [PATCH]: arpa/inet.h inclusion warning under FreeBSD 4.


From: Yoann Vandoorselaere
Subject: Re: [bug-gnulib] [PATCH]: arpa/inet.h inclusion warning under FreeBSD 4.x
Date: Fri, 28 Jul 2006 14:31:22 +0200

On Fri, 2006-07-28 at 14:13 +0200, Bruno Haible wrote:
> Yoann Vandoorselaere wrote:
> >  
> >  #include <sys/types.h>
> >  #include <sys/socket.h>
> > +
> > +#ifdef HAVE_NETINET_IN_H
> > +# include <netinet/in.h>
> > +#endif
> > +
> >  #ifdef HAVE_ARPA_INET_H
> >  # include <arpa/inet.h>
> >  #endif
> 
> Also, how about using #if instead of #ifdef, like in the rest of gnulib?

Sound good, although  I guess you can also update the HAVE_ARPA_INET_H
check then. :-)

-- 
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)8 70 70 21 58                  Fax: +33(0)4 78 42 21 58
http://www.prelude-ids.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]