From: Simon Josefsson Date: Wed, 5 Oct 2005 07:49:16 +0000 (+0000) Subject: Remove HAVE_SYS_SOCKET_H test too, to see if X-Git-Tag: cvs-readonly~2855 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=2e1c3812cb60c60eb2f6f22c069e79b84e553eec;p=gnulib.git Remove HAVE_SYS_SOCKET_H test too, to see if any systems lack sys/socket.h; mingw32 is known to lack it, but we don't support it yet anyway. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index f8e08a992..b1345b02f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -2,7 +2,9 @@ * getaddrinfo.h: Don't protect sys/types.h with HAVE_SYS_TYPES_H, we assume all systems have it, suggested by Jim Meyering - . + . Remove HAVE_SYS_SOCKET_H test too, to see if + any systems lack sys/socket.h; mingw32 is known to lack it, but we + don't support it yet anyway. 2005-10-04 Bruno Haible diff --git a/lib/getaddrinfo.h b/lib/getaddrinfo.h index 9f47447d3..ca096b8de 100644 --- a/lib/getaddrinfo.h +++ b/lib/getaddrinfo.h @@ -25,9 +25,7 @@ used below. */ # include /* Get all getaddrinfo related declarations, if available. */ -# ifdef HAVE_SYS_SOCKET_H -# include -# endif +# include # ifdef HAVE_NETDB_H # include # endif