aboutsummaryrefslogtreecommitdiff
path: root/ares
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
commit7ae3f0e70c90dc1c602d95a5898344548dbc8872 (patch)
tree0cbba99927c001b0432fa44a663a1282340dbedc /ares
parent9afaa51e3f70b3bf9b2679b30653317a41a57b2d (diff)
include sys/types.h too when checking for headers as otherwise this breaks
on Solaris and FreeBSD. At least.
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index e5f9531db..7e97d6095 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 <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.