diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-01-26 03:40:51 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-01-26 04:05:40 +0100 |
commit | 638a45b5c1e20a8539100ca44166caad8abf26f8 (patch) | |
tree | e82188f6699bd5dfcf4b40fe7f4afd0eaff8c333 /configure.ac | |
parent | upstream: for UpdateHostKeys, don't report errors for unsupported (diff) | |
download | openssh-638a45b5c1e20a8539100ca44166caad8abf26f8.tar.xz openssh-638a45b5c1e20a8539100ca44166caad8abf26f8.zip |
Wrap stdint.h in tests inside HAVE_STDINT_H.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
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 <stdio.h> #include <stdlib.h> -#include <stdint.h> +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif #include <ldns/ldns.h> 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 <sys/types.h> -#include <stdint.h> +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif ]) TYPE_SOCKLEN_T |