diff --git a/configure b/configure index 9a1ad6fc15e..720e13ec3c9 100755 --- a/configure +++ b/configure @@ -11620,6 +11620,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include #include #include #include @@ -14833,6 +14834,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include #include int main() { size_t len = -1; diff --git a/configure.ac b/configure.ac index 86539b65add..12d698d2651 100644 --- a/configure.ac +++ b/configure.ac @@ -3119,6 +3119,7 @@ then AC_MSG_CHECKING(getaddrinfo bug) AC_CACHE_VAL(ac_cv_buggy_getaddrinfo, AC_RUN_IFELSE([AC_LANG_SOURCE([[[ +#include #include #include #include @@ -4447,6 +4448,7 @@ AC_CHECK_TYPE(socklen_t,, AC_MSG_CHECKING(for broken mbstowcs) AC_CACHE_VAL(ac_cv_broken_mbstowcs, AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include #include int main() { size_t len = -1;