[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getaddrinfo.h: HAVE_SYS_TYPES_H needed?
From: |
Simon Josefsson |
Subject: |
Re: getaddrinfo.h: HAVE_SYS_TYPES_H needed? |
Date: |
Wed, 05 Oct 2005 10:46:55 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Jim Meyering <address@hidden> writes:
>>> How about HAVE_SYS_SOCKET_H?
>>> At least poll.c uses <sys/socket.h> without the conditional.
>>>
>>> It's best to avoid the conditionals, when possible.
>>
>> Mingw32 doesn't have sys/socket.h, but gnulib doesn't support it
>> anyway, so I removed the check. The proper fix on mingw32 would be to
>> supply, in a gnulib module, some working sys/socket.h files.
>>
>> What about netdb.h then? Is there any system that lack it?
>
> I don't know, but do see that gai_strerror.c includes it unconditionally,
> so removing that conditional is probably fine, too.
Done.
The tests for these headers in getaddrinfo.m4 should probably be
removed eventually.