[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH]: arpa/inet.h inclusion warning under FreeBSD 4.x
From: |
jas |
Subject: |
Re: [PATCH]: arpa/inet.h inclusion warning under FreeBSD 4.x |
Date: |
Fri, 28 Jul 2006 18:32:23 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Yoann Vandoorselaere <address@hidden> writes:
> 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. :-)
I've installed your patch.
Thanks!