From: Daniel Stenberg Date: Fri, 8 Apr 2005 08:48:17 +0000 (+0000) Subject: include sys/types.h too when checking for headers as otherwise this breaks X-Git-Tag: curl-7_14_0~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ae3f0e70c90dc1c602d95a5898344548dbc8872;p=thirdparty%2Fcurl.git include sys/types.h too when checking for headers as otherwise this breaks on Solaris and FreeBSD. At least. --- diff --git a/ares/configure.ac b/ares/configure.ac index e5f9531dbe..7e97d60952 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -71,6 +71,9 @@ AC_CHECK_HEADERS( arpa/nameser_compat.h \ arpa/inet.h, , , [ +#ifdef HAVE_SYS_TYPES_H +#include +#endif dnl We do this default-include simply to make sure that the nameser_compat.h dnl header *REALLY* can be include after the new nameser.h. It seems AIX 5.1 dnl (and others?) is not designed to allow this.