summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/apps.c2
-rw-r--r--crypto/o_str.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c
index f45093328e..fc99c3445f 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -116,7 +116,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifndef OPENSSL_SYSNAME_WIN32
#include <strings.h>
+#endif
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
diff --git a/crypto/o_str.c b/crypto/o_str.c
index 2b4d0dcd5e..59cc25094b 100644
--- a/crypto/o_str.c
+++ b/crypto/o_str.c
@@ -60,7 +60,7 @@
#include <e_os.h>
#include "o_str.h"
-#ifndef OPENSSL_IMPLEMENTS_strncasecmp
+#if !defined(OPENSSL_IMPLEMENTS_strncasecmp) && !defined(OPENSSL_SYSNAME_WIN32)
# include <strings.h>
#endif