Merge from gnulib.

This commit is contained in:
Jim Meyering 2005-10-05 09:09:33 +00:00
parent df2b4d3451
commit d3b8165328

View File

@ -19,19 +19,14 @@
#ifndef GETADDRINFO_H
# define GETADDRINFO_H
/* Get all getaddrinfo related declarations, if available. */
/* 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>
# ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
# endif
# ifdef HAVE_NETDB_H
# include <netdb.h>
# endif
/* Get all getaddrinfo related declarations, if available. */
# include <sys/socket.h>
# include <netdb.h>
# ifndef HAVE_STRUCT_ADDRINFO