diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-08-17 21:34:32 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-08-17 21:34:32 +1000 |
commit | 05c215de8d224e094a872d97d45f37f60c06206b (patch) | |
tree | 106663c19f7303ee3f303dbc8f8631d7780af865 | |
parent | eaf2765efe8bc74feba85c34295d067637fc6635 (diff) |
Wrap stdint.h include in ifdef HAVE_STDINT_H.
-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 @@ | |||
28 | #ifndef HAVE_MEMMEM | 28 | #ifndef HAVE_MEMMEM |
29 | 29 | ||
30 | #include <string.h> | 30 | #include <string.h> |
31 | #ifdef HAVE_STDINT_H | ||
31 | #include <stdint.h> | 32 | #include <stdint.h> |
33 | #endif | ||
32 | 34 | ||
33 | static char * | 35 | static char * |
34 | twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) | 36 | twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) |