From: Yang Tse Date: Thu, 22 Feb 2007 16:44:43 +0000 (+0000) Subject: include when checking availability of the bool type X-Git-Tag: curl-7_16_2~248 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a6a22a3b0f01f8b901a6fdc3256b28358eca595;p=thirdparty%2Fcurl.git include when checking availability of the bool type --- diff --git a/ares/configure.ac b/ares/configure.ac index e870d63d2c..034be0e233 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 +#endif #ifdef HAVE_STDBOOL_H #include #endif diff --git a/configure.ac b/configure.ac index be3c5d7b20..c321376190 100644 --- a/configure.ac +++ b/configure.ac @@ -1729,6 +1729,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 +#endif #ifdef HAVE_STDBOOL_H #include #endif