From 404fb7149effa40d04625272424a28ff25c0e673 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 19 Dec 1999 22:56:23 +0000 Subject: [PATCH] Even more late break-in MacOS tidbits... --- crypto/des/des_locl.h | 6 +++++- crypto/des/read_pwd.c | 6 +++++- e_os.h | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h index d6ea17cb68..e50fa8fb38 100644 --- a/crypto/des/des_locl.h +++ b/crypto/des/des_locl.h @@ -72,7 +72,11 @@ #ifndef MSDOS #if !defined(VMS) || defined(__DECC) -#include OPENSSL_UNISTD +#ifdef OPENSSL_UNISTD +# include OPENSSL_UNISTD +#else +# include +#endif #include #endif #endif diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c index a262f98ed7..ffa72be734 100644 --- a/crypto/des/read_pwd.c +++ b/crypto/des/read_pwd.c @@ -58,7 +58,11 @@ #if !defined(MSDOS) && !defined(VMS) && !defined(WIN32) #include -#include OPENSSL_UNISTD +#ifdef OPENSSL_UNISTD +# include OPENSSL_UNISTD +#else +# include +#endif /* If unistd.h defines _POSIX_VERSION, we conclude that we * are on a POSIX system and have sigaction and termios. */ #if defined(_POSIX_VERSION) diff --git a/e_os.h b/e_os.h index 12f39788eb..f651b32fd5 100644 --- a/e_os.h +++ b/e_os.h @@ -252,7 +252,7 @@ extern "C" { # else /* !defined VMS */ # ifdef OPENSSL_UNISTD -# include OPENSLL_UNISTD +# include OPENSSL_UNISTD # else # include # endif -- 2.25.1