diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-08-17 13:34:32 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-08-17 13:34:32 +0200 |
commit | 05c215de8d224e094a872d97d45f37f60c06206b (patch) | |
tree | 106663c19f7303ee3f303dbc8f8631d7780af865 /openbsd-compat/memmem.c | |
parent | sync memmem.c with OpenBSD (diff) | |
download | openssh-05c215de8d224e094a872d97d45f37f60c06206b.tar.xz openssh-05c215de8d224e094a872d97d45f37f60c06206b.zip |
Wrap stdint.h include in ifdef HAVE_STDINT_H.
Diffstat (limited to '')
-rw-r--r-- | openbsd-compat/memmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/memmem.c b/openbsd-compat/memmem.c index eb64eaab8..ac1243eb0 100644 --- a/openbsd-compat/memmem.c +++ b/openbsd-compat/memmem.c @@ -28,7 +28,9 @@ #ifndef HAVE_MEMMEM #include <string.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif static char * twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) |