Windows does not know of strigs.h or strcasecmp, so when in Windows,
[openssl.git] / apps / apps.c
index 4cb2a72f455d40e5f2f5f999412df484a5b9453a..c2633b21e2247959c06797cbadc043a3a1786654 100644 (file)
@@ -59,7 +59,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <strings.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #define NON_MAIN
 #include <openssl/pkcs12.h>
 #include <openssl/safestack.h>
 
+#ifdef OPENSSL_SYS_WINDOWS
+#define strcasecmp _stricmp
+#else
+#include <strings.h>
+#endif
+
 #ifdef OPENSSL_SYS_WINDOWS
 #  include "bss_file.c"
 #endif