aboutsummaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-07-18 07:47:30 +0000
committerRichard Levitte <levitte@openssl.org>2002-07-18 07:47:30 +0000
commit9335a5f7c07cf16d3d167edee078b33c8dab725d (patch)
tree5a2c3e0065a43217aace42d96abb8befe85fc1a0 /apps/ca.c
parent32bf74e30ee987b6162dc1807d9189a9c45a8795 (diff)
downloadopenssl-9335a5f7c07cf16d3d167edee078b33c8dab725d.tar.gz
Unixware doesn't have strings.h, so we need to declare strcasecmp()
differently. Unixware 2 needs to link with libresolv. PR: 148
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 0b3c8a4397..db46520696 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -80,7 +80,11 @@
#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
#ifndef W_OK