summaryrefslogtreecommitdiffstats
path: root/crypto/o_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/o_str.c')
-rw-r--r--crypto/o_str.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/o_str.c b/crypto/o_str.c
index 42b25d078f..7189d13352 100644
--- a/crypto/o_str.c
+++ b/crypto/o_str.c
@@ -57,9 +57,13 @@
*/
#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