changeset 6332:7ccb8645a6c3

Also remove HAVE_NETDB_H test, for same reasons.
author Simon Josefsson <simon@josefsson.org>
date Wed, 05 Oct 2005 08:46:24 +0000
parents b52738f08311
children 2cb18c08d152
files lib/ChangeLog lib/getaddrinfo.h
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -4,7 +4,8 @@
 	we assume all systems have it, suggested by Jim Meyering
 	<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.
+	don't support it yet anyway.  Also remove HAVE_NETDB_H test, for
+	same reasons.
 
 2005-10-04  Bruno Haible  <bruno@clisp.org>
 
--- a/lib/getaddrinfo.h
+++ b/lib/getaddrinfo.h
@@ -26,9 +26,7 @@
 # include <sys/types.h>
 /* Get all getaddrinfo related declarations, if available.  */
 # include <sys/socket.h>
-# ifdef HAVE_NETDB_H
-#  include <netdb.h>
-# endif
+# include <netdb.h>
 
 # ifndef HAVE_STRUCT_ADDRINFO