From: Paul Eggert Date: Wed, 5 Oct 2005 21:41:31 +0000 (+0000) Subject: Don't use the HAVE_ macros that we used to define. X-Git-Tag: cvs-readonly~2846 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=fc86a0be1b68e4b24d9249d763d33701b3a81623;p=gnulib.git Don't use the HAVE_ macros that we used to define. --- diff --git a/m4/getaddrinfo.m4 b/m4/getaddrinfo.m4 index 3a1b3c864..b3b7b0736 100644 --- a/m4/getaddrinfo.m4 +++ b/m4/getaddrinfo.m4 @@ -24,25 +24,13 @@ AC_DEFUN([gl_PREREQ_GETADDRINFO], [ /* 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 ]) ])