diff options
author | Andy Polyakov <appro@openssl.org> | 1999-12-19 22:56:23 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 1999-12-19 22:56:23 +0000 |
commit | 404fb7149effa40d04625272424a28ff25c0e673 (patch) | |
tree | 4dfb4b6e2caaaa570b041cf4de249b525c96c5c9 | |
parent | a7c5241f5f23bf8eeb41efd7f4932f9e1359a38d (diff) |
Even more late break-in MacOS tidbits...
-rw-r--r-- | crypto/des/des_locl.h | 6 | ||||
-rw-r--r-- | crypto/des/read_pwd.c | 6 | ||||
-rw-r--r-- | 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 <unistd.h> +#endif #include <math.h> #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 <openssl/opensslconf.h> -#include OPENSSL_UNISTD +#ifdef OPENSSL_UNISTD +# include OPENSSL_UNISTD +#else +# include <unistd.h> +#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) @@ -252,7 +252,7 @@ extern "C" { # else /* !defined VMS */ # ifdef OPENSSL_UNISTD -# include OPENSLL_UNISTD +# include OPENSSL_UNISTD # else # include <unistd.h> # endif |