summaryrefslogtreecommitdiff
path: root/drivers/builtin_openssl2/crypto/o_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/builtin_openssl2/crypto/o_str.c')
-rw-r--r--drivers/builtin_openssl2/crypto/o_str.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/builtin_openssl2/crypto/o_str.c b/drivers/builtin_openssl2/crypto/o_str.c
index fd4087ffe3..c10842300d 100644
--- a/drivers/builtin_openssl2/crypto/o_str.c
+++ b/drivers/builtin_openssl2/crypto/o_str.c
@@ -62,9 +62,13 @@
#include "o_str.h"
#if !defined(OPENSSL_IMPLEMENTS_strncasecmp) && \
- !defined(OPENSSL_SYSNAME_WIN32) && \
+ !defined(OPENSSL_SYSNAME_WIN32) && !defined(OPENSSL_SYSNAME_WINCE) && \
!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)