aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/read_pwd.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>1999-12-19 22:56:23 +0000
committerAndy Polyakov <appro@openssl.org>1999-12-19 22:56:23 +0000
commit404fb7149effa40d04625272424a28ff25c0e673 (patch)
tree4dfb4b6e2caaaa570b041cf4de249b525c96c5c9 /crypto/des/read_pwd.c
parenta7c5241f5f23bf8eeb41efd7f4932f9e1359a38d (diff)
downloadopenssl-404fb7149effa40d04625272424a28ff25c0e673.tar.gz
Even more late break-in MacOS tidbits...
Diffstat (limited to 'crypto/des/read_pwd.c')
-rw-r--r--crypto/des/read_pwd.c6
1 files changed, 5 insertions, 1 deletions
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)