summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-08-17 21:34:32 +1000
committerDarren Tucker <dtucker@dtucker.net>2020-08-17 21:34:32 +1000
commit05c215de8d224e094a872d97d45f37f60c06206b (patch)
tree106663c19f7303ee3f303dbc8f8631d7780af865 /openbsd-compat
parenteaf2765efe8bc74feba85c34295d067637fc6635 (diff)
Wrap stdint.h include in ifdef HAVE_STDINT_H.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/memmem.c2
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
33static char * 35static char *
34twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) 36twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)