<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 f450933..fc99c34 100644 (file)
 #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>
index 2b4d0dc..59cc250 100644 (file)
@@ -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