o_str.c: Windows doesn't have <strings.h>, and since we use _strnicmp() and
[openssl.git] / crypto / o_str.c
index 42b25d0..7189d13 100644 (file)
  */
 
 #include <ctype.h>
-#include <strings.h>
-#include "o_str.h"
 #include <openssl/e_os2.h>
+#ifdef OPENSSL_SYS_WINDOWS
+# include <string.h>
+#else
+# include <strings.h>
+#endif
+#include "o_str.h"
 
 #undef strncasecmp
 #undef strcasecmp