we assume all systems have it, suggested by Jim Meyering
<jim@meyering.net>.
+2005-10-05 Simon Josefsson <jas@extundo.com>
+
+ * getaddrinfo.h: Don't protect sys/types.h with HAVE_SYS_TYPES_H,
+ we assume all systems have it, suggested by Jim Meyering
+ <jim@meyering.net>.
+
2005-10-04 Bruno Haible <bruno@clisp.org>
* verify.h (verify_true): Provide alternative definition for C++.
#ifndef GETADDRINFO_H
# define GETADDRINFO_H
-/* Get all getaddrinfo related declarations, if available. */
-# ifdef HAVE_SYS_TYPES_H
/* sys/socket.h in i386-unknown-freebsd4.10 and
powerpc-apple-darwin5.5 require sys/types.h, so include it first.
Then we'll also get 'socklen_t' and 'struct sockaddr' which are
used below. */
-# include <sys/types.h>
-# endif
+# include <sys/types.h>
+/* Get all getaddrinfo related declarations, if available. */
# ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
# endif