Add initial support for mingw64.
[openssl.git] / crypto / o_str.c
index 2db099333a7fd0781463f44b0023db619d0ffee0..59cc25094b5a7864f0a2f04f62f089cf00f782f6 100644 (file)
 #include <e_os.h>
 #include "o_str.h"
 
+#if !defined(OPENSSL_IMPLEMENTS_strncasecmp) && !defined(OPENSSL_SYSNAME_WIN32)
+# include <strings.h>
+#endif
+
 int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)
        {
 #if defined(OPENSSL_IMPLEMENTS_strncasecmp)