Unixware doesn't have strings.h, so we need to declare strcasecmp()
[openssl.git] / apps / apps.c
index ac18296e67f6f67c586fc1ebbf22488db96db0d1..40faa02f9076f79822662f599d0ebff34c967157 100644 (file)
 #ifdef OPENSSL_SYS_WINDOWS
 #define strcasecmp _stricmp
 #else
 #ifdef OPENSSL_SYS_WINDOWS
 #define strcasecmp _stricmp
 #else
-#include <strings.h>
+#  ifdef NO_STRINGS_H
+    int        strcasecmp();
+#  else
+#    include <strings.h>
+#  endif /* NO_STRINGS_H */
 #endif
 
 #ifdef OPENSSL_SYS_WINDOWS
 #endif
 
 #ifdef OPENSSL_SYS_WINDOWS