summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-08 08:48:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-08 08:48:17 +0000
commit2a0239bab1b7654d7c770011b8a035f6660ca4fe (patch)
tree3dfe95e61e79aa200d271cb6f03f7f1a5053ac78 /configure.ac
parent77244a784fbb417c0c03e6c3fb078db1217b1e64 (diff)
downloadc-ares-2a0239bab1b7654d7c770011b8a035f6660ca4fe.tar.gz
c-ares-2a0239bab1b7654d7c770011b8a035f6660ca4fe.tar.bz2
c-ares-2a0239bab1b7654d7c770011b8a035f6660ca4fe.zip
include sys/types.h too when checking for headers as otherwise this breaks
on Solaris and FreeBSD. At least.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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 <sys/types.h>
+#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.