From: Darren Tucker Date: Sun, 26 Jan 2020 02:40:51 +0000 (+1100) Subject: Wrap stdint.h in tests inside HAVE_STDINT_H. X-Git-Tag: V_8_2_P1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638a45b5c1e20a8539100ca44166caad8abf26f8;p=thirdparty%2Fopenssh-portable.git Wrap stdint.h in tests inside HAVE_STDINT_H. --- diff --git a/configure.ac b/configure.ac index 34cd94a7f..b689db4b5 100644 --- a/configure.ac +++ b/configure.ac @@ -1564,7 +1564,9 @@ AC_ARG_WITH(ldns, [AC_LANG_SOURCE([[ #include #include -#include +#ifdef HAVE_STDINT_H +# include +#endif #include int main() { ldns_status status = ldns_verify_trusted(NULL, NULL, NULL, NULL); status=LDNS_STATUS_OK; exit(0); } ]]) @@ -3849,7 +3851,9 @@ fi AC_CHECK_TYPES([intmax_t, uintmax_t], , , [ #include -#include +#ifdef HAVE_STDINT_H +# include +#endif ]) TYPE_SOCKLEN_T