[openssh-commits] [openssh] 01/01: Wrap stdint.h include in ifdef HAVE_STDINT_H.

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Aug 17 21:36:11 AEST 2020


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 05c215de8d224e094a872d97d45f37f60c06206b
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Mon Aug 17 21:34:32 2020 +1000

    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 eb64eaab..ac1243eb 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)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list