Mercurial > hg > octave-shane > gnulib-hg
changeset 6331:b52738f08311
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.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Wed, 05 Oct 2005 07:49:16 +0000 |
parents | ba742d376820 |
children | 7ccb8645a6c3 |
files | lib/ChangeLog lib/getaddrinfo.h |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 - <jim@meyering.net>. + <jim@meyering.net>. 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 <bruno@clisp.org>
--- a/lib/getaddrinfo.h +++ b/lib/getaddrinfo.h @@ -25,9 +25,7 @@ used below. */ # include <sys/types.h> /* Get all getaddrinfo related declarations, if available. */ -# ifdef HAVE_SYS_SOCKET_H -# include <sys/socket.h> -# endif +# include <sys/socket.h> # ifdef HAVE_NETDB_H # include <netdb.h> # endif