From fc86a0be1b68e4b24d9249d763d33701b3a81623 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 5 Oct 2005 21:41:31 +0000 Subject: [PATCH] Don't use the HAVE_ macros that we used to define. --- m4/getaddrinfo.m4 | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/m4/getaddrinfo.m4 b/m4/getaddrinfo.m4 index 3a1b3c864f..b3b7b0736e 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 ]) ]) -- 2.30.2