Mercurial > hg > octave-lyh > gnulib-hg
changeset 6340:7ce682b6b199
Don't use the HAVE_ macros that we used to define.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 05 Oct 2005 21:41:31 +0000 |
parents | 1e3aad6841a0 |
children | 0ff8e20cf3fa |
files | m4/getaddrinfo.m4 |
diffstat | 1 files changed, 6 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- 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 <sys/types.h> -#endif -#ifdef HAVE_SYS_SOCKET_H -# include <sys/socket.h> -#endif -#ifdef HAVE_NETDB_H -# include <netdb.h> -#endif +#include <sys/types.h> +#include <sys/socket.h> +#include <netdb.h> ]) AC_CHECK_TYPES([struct addrinfo],,,[ -#ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif -#ifdef HAVE_SYS_SOCKET_H -# include <sys/socket.h> -#endif -#ifdef HAVE_NETDB_H -# include <netdb.h> -#endif +#include <sys/types.h> +#include <sys/socket.h> +#include <netdb.h> ]) ])