From 9335a5f7c07cf16d3d167edee078b33c8dab725d Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 18 Jul 2002 07:47:30 +0000 Subject: Unixware doesn't have strings.h, so we need to declare strcasecmp() differently. Unixware 2 needs to link with libresolv. PR: 148 --- apps/apps.c | 6 +++++- apps/ca.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'apps') 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 +# ifdef NO_STRINGS_H + int strcasecmp(); +# else +# include +# endif /* NO_STRINGS_H */ #endif #ifdef OPENSSL_SYS_WINDOWS 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 +# ifdef NO_STRINGS_H + int strcasecmp(); +# else +# include +# endif /* NO_STRINGS_H */ #endif #ifndef W_OK -- cgit v1.2.3