<strings.h> does not exist under WIN32.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 14 Jan 2008 18:10:55 +0000 (18:10 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 14 Jan 2008 18:10:55 +0000 (18:10 +0000)
apps/apps.c
crypto/o_str.c

index f45093328e873e0e6f6743a6ce59e06b9827c67d..fc99c3445f413293d670da6e08dc2340a240d9b4 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifndef OPENSSL_SYSNAME_WIN32
 #include <strings.h>
 #include <strings.h>
+#endif
 #include <sys/types.h>
 #include <ctype.h>
 #include <errno.h>
 #include <sys/types.h>
 #include <ctype.h>
 #include <errno.h>
index 2b4d0dcd5e37bb0e1c7fc2ace40d09e2f682e20d..59cc25094b5a7864f0a2f04f62f089cf00f782f6 100644 (file)
@@ -60,7 +60,7 @@
 #include <e_os.h>
 #include "o_str.h"
 
 #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
 
 # include <strings.h>
 #endif