]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Wrap stdint.h include in ifdef HAVE_STDINT_H.
authorDarren Tucker <dtucker@dtucker.net>
Mon, 17 Aug 2020 11:34:32 +0000 (21:34 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 17 Aug 2020 11:34:32 +0000 (21:34 +1000)
openbsd-compat/memmem.c

index eb64eaab8d429689c5fa33715ce19678c1c52233..ac1243eb0d1750884c9a0fda951f263336d6e4b6 100644 (file)
@@ -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)