summaryrefslogtreecommitdiff
path: root/drivers/builtin_openssl2/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/builtin_openssl2/crypto')
-rw-r--r--drivers/builtin_openssl2/crypto/o_str.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/builtin_openssl2/crypto/o_str.c b/drivers/builtin_openssl2/crypto/o_str.c
index fd4087ffe3..72de37eaf5 100644
--- a/drivers/builtin_openssl2/crypto/o_str.c
+++ b/drivers/builtin_openssl2/crypto/o_str.c
@@ -64,7 +64,11 @@
#if !defined(OPENSSL_IMPLEMENTS_strncasecmp) && \
!defined(OPENSSL_SYSNAME_WIN32) && \
!defined(NETWARE_CLIB)
-# include <strings.h>
+#ifdef _WIN32
+#include <string.h>
+#else
+#include <strings.h>
+#endif
#endif
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)