From 05c215de8d224e094a872d97d45f37f60c06206b Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 17 Aug 2020 21:34:32 +1000 Subject: [PATCH] Wrap stdint.h include in ifdef HAVE_STDINT_H. --- openbsd-compat/memmem.c | 2 ++ 1 file changed, 2 insertions(+) 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 +#ifdef HAVE_STDINT_H #include +#endif static char * twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)