# HG changeset patch # User Paul Eggert # Date 1128548491 0 # Node ID 7ce682b6b19914f57d8ce28b3053e1cca685d439 # Parent 1e3aad6841a09da4cb91e9a813f77cccb0a3febd Don't use the HAVE_ macros that we used to define. diff --git a/m4/getaddrinfo.m4 b/m4/getaddrinfo.m4 --- a/m4/getaddrinfo.m4 +++ b/m4/getaddrinfo.m4 @@ -24,25 +24,13 @@ /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_SOCKET_H -# include -#endif -#ifdef HAVE_NETDB_H -# include -#endif +#include +#include +#include ]) AC_CHECK_TYPES([struct addrinfo],,,[ -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_SOCKET_H -# include -#endif -#ifdef HAVE_NETDB_H -# include -#endif +#include +#include +#include ]) ])