diff options
-rw-r--r-- | ares/configure.ac | 3 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 6 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 diff --git a/configure.ac b/configure.ac index be3c5d7b2..c32137619 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 <sys/types.h> +#endif #ifdef HAVE_STDBOOL_H #include <stdbool.h> #endif |