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 b1345b02fdb63f4ce548eac2d313539475e0c5f0..ea40cf81114ecafb52e29c63e4d0b44068f806f4 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 ca096b8de5b5b47540a873e304830bf918fadd8b..54c9198bbb7f7e71ff231bc177c9c0fbf7839425 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