diff options
author | Richard Levitte <levitte@openssl.org> | 2002-07-18 07:47:30 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-07-18 07:47:30 +0000 |
commit | 9335a5f7c07cf16d3d167edee078b33c8dab725d (patch) | |
tree | 5a2c3e0065a43217aace42d96abb8befe85fc1a0 /apps | |
parent | 32bf74e30ee987b6162dc1807d9189a9c45a8795 (diff) |
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')
-rw-r--r-- | apps/apps.c | 6 | ||||
-rw-r--r-- | apps/ca.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/apps/apps.c b/apps/apps.c index ac18296e67..40faa02f90 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -129,7 +129,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 #ifdef OPENSSL_SYS_WINDOWS @@ -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 |