# HG changeset patch # User Simon Josefsson # Date 1128498556 0 # Node ID b52738f083113109a43a4d4d88545066f1588401 # Parent ba742d37682017dbfe030d94f0439489276b13c1 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 --- 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 --- 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