aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/read_pwd.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-06-09 13:23:38 +0000
committerBodo Möller <bodo@openssl.org>1999-06-09 13:23:38 +0000
commite766a681aa4df604b20ce2d23cd131b74af9eaf7 (patch)
tree6ab2ba6c2881f49cb0ec8091d04100eef3653c84 /crypto/des/read_pwd.c
parent9e952fc8770bf72b03fdd7acf6a1843070b44b4b (diff)
downloadopenssl-e766a681aa4df604b20ce2d23cd131b74af9eaf7.tar.gz
Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
Allow configuring the name of that header file.
Diffstat (limited to 'crypto/des/read_pwd.c')
-rw-r--r--crypto/des/read_pwd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c
index d280aa14a5..7639fc0c3b 100644
--- a/crypto/des/read_pwd.c
+++ b/crypto/des/read_pwd.c
@@ -57,7 +57,8 @@
*/
#if !defined(MSDOS) && !defined(VMS) && !defined(WIN32)
-#include <unistd.h>
+#include <openssl/opensslconf.h>
+#include OPENSSL_UNISTD
/* If unistd.h defines _POSIX_VERSION, we conclude that we
* are on a POSIX system and have sigaction and termios. */
#if defined(_POSIX_VERSION)