From 2a0239bab1b7654d7c770011b8a035f6660ca4fe Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 8 Apr 2005 08:48:17 +0000 Subject: [PATCH] include sys/types.h too when checking for headers as otherwise this breaks on Solaris and FreeBSD. At least. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index e5f9531..7e97d60 100644 --- a/configure.ac +++ b/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. -- 2.7.4