aboutsummaryrefslogtreecommitdiff
path: root/ares/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-22 16:44:43 +0000
committerYang Tse <yangsita@gmail.com>2007-02-22 16:44:43 +0000
commit2a6a22a3b0f01f8b901a6fdc3256b28358eca595 (patch)
tree5bdf8a62030912879559a530aca1550003c06b9f /ares/configure.ac
parent4937281ddccbec1daf007257f1732497cb7d62a0 (diff)
include <sys/types.h> when checking availability of the bool type
Diffstat (limited to 'ares/configure.ac')
-rw-r--r--ares/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index e870d63d2..034be0e23 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -376,6 +376,9 @@ AC_CHECK_TYPE([bool],[
AC_DEFINE(HAVE_BOOL_T, 1,
[Define to 1 if bool is an available type.])
], ,[
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
#endif