diff options
-rw-r--r-- | auth-options.c | 4 | ||||
-rw-r--r-- | misc.c | 4 | ||||
-rw-r--r-- | regress/misc/fuzz-harness/agent_fuzz.cc | 4 | ||||
-rw-r--r-- | sk-usbhid.c | 4 | ||||
-rw-r--r-- | ssh-xmss.c | 4 |
5 files changed, 15 insertions, 5 deletions
diff --git a/auth-options.c b/auth-options.c index 785a23990..c89b1ee58 100644 --- a/auth-options.c +++ b/auth-options.c @@ -24,7 +24,9 @@ #include <pwd.h> #include <string.h> #include <stdio.h> -#include <stdint.h> +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif #include <stdarg.h> #include <ctype.h> #include <limits.h> @@ -38,7 +38,9 @@ #include <signal.h> #include <stdarg.h> #include <stdio.h> -#include <stdint.h> +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif #include <stdlib.h> #include <string.h> #include <time.h> diff --git a/regress/misc/fuzz-harness/agent_fuzz.cc b/regress/misc/fuzz-harness/agent_fuzz.cc index ad85b2f9a..3013f54d5 100644 --- a/regress/misc/fuzz-harness/agent_fuzz.cc +++ b/regress/misc/fuzz-harness/agent_fuzz.cc @@ -1,7 +1,9 @@ // cc_fuzz_target test for ssh-agent. extern "C" { -#include <stdint.h> +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif #include <sys/types.h> extern void test_one(const uint8_t* s, size_t slen); diff --git a/sk-usbhid.c b/sk-usbhid.c index 7bb829aa7..812b28d83 100644 --- a/sk-usbhid.c +++ b/sk-usbhid.c @@ -20,7 +20,9 @@ #ifdef ENABLE_SK_INTERNAL -#include <stdint.h> +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif #include <stdlib.h> #include <string.h> #include <stdio.h> diff --git a/ssh-xmss.c b/ssh-xmss.c index b3aec0f72..b6d0561b1 100644 --- a/ssh-xmss.c +++ b/ssh-xmss.c @@ -25,7 +25,9 @@ #include <stdlib.h> #include <string.h> #include <stdarg.h> -#include <stdint.h> +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif #include <unistd.h> #include "log.h" |