summaryrefslogtreecommitdiff
path: root/drivers/builtin_openssl2/crypto
diff options
context:
space:
mode:
authorTheo Hallenius <redsymbzone@hotmail.com>2014-08-27 23:21:24 +0200
committerTheo Hallenius <redsymbzone@hotmail.com>2014-08-27 23:21:24 +0200
commitd98d3fb8ea617eadc5f8e268b9f26f8e586e118c (patch)
tree3d9c0e23c496e03cb491608ea41cde9310ddac8c /drivers/builtin_openssl2/crypto
parent89fa70706f9166765c3ac3f799225a467800f065 (diff)
Someone fixed compiling issue on Win
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 56104a6c34..d233afd46b 100644
--- a/drivers/builtin_openssl2/crypto/o_str.c
+++ b/drivers/builtin_openssl2/crypto/o_str.c
@@ -63,7 +63,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)