Also remove HAVE_NETDB_H test, for
authorSimon Josefsson <simon@josefsson.org>
Wed, 5 Oct 2005 08:46:24 +0000 (08:46 +0000)
committerSimon Josefsson <simon@josefsson.org>
Wed, 5 Oct 2005 08:46:24 +0000 (08:46 +0000)
same reasons.

lib/ChangeLog
lib/getaddrinfo.h

index b1345b0..ea40cf8 100644 (file)
@@ -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>
 
index ca096b8..54c9198 100644 (file)
@@ -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