summaryrefslogtreecommitdiff
path: root/lib/getaddrinfo.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-10-05 07:49:16 +0000
committerSimon Josefsson <simon@josefsson.org>2005-10-05 07:49:16 +0000
commit2e1c3812cb60c60eb2f6f22c069e79b84e553eec (patch)
treea8601878c270dc4f068f858cc2eea61940f2afc3 /lib/getaddrinfo.h
parent62f66280328dc39f3c568281ecd46015fb84a344 (diff)
downloadgnulib-2e1c3812cb60c60eb2f6f22c069e79b84e553eec.tar.gz
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.
Diffstat (limited to 'lib/getaddrinfo.h')
-rw-r--r--lib/getaddrinfo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/getaddrinfo.h b/lib/getaddrinfo.h
index 9f47447d30..ca096b8de5 100644
--- 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