Avoid integer overflow on exotic platforms.
[gnulib.git] / lib / getaddrinfo.h
index 9f47447..54c9198 100644 (file)
    used below. */
 # include <sys/types.h>
 /* Get all getaddrinfo related declarations, if available.  */
-# ifdef HAVE_SYS_SOCKET_H
-#  include <sys/socket.h>
-# endif
-# ifdef HAVE_NETDB_H
-#  include <netdb.h>
-# endif
+# include <sys/socket.h>
+# include <netdb.h>
 
 # ifndef HAVE_STRUCT_ADDRINFO