summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-01-14 18:10:55 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-01-14 18:10:55 +0000
commit52108cecc0609ae343f7779532f145f81c314272 (patch)
tree3f6587b9e78e85fdf8e422de00abb67cd1da63ca
parentaddd641f3a5e99ed90e3369914af5b356b725590 (diff)
<strings.h> does not exist under WIN32.
-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