Hi Simon,

I noticed that getaddrinfo.h guards the inclusion of <sys/types.h>
with an #ifdef HAVE_SYS_TYPES_H.
Do you know of a system that lacks <sys/types.h>?
I don't see any other uses of HAVE_SYS_TYPES_H in gnulib.

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.


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to