aboutsummaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>1999-12-19 21:35:29 +0000
committerAndy Polyakov <appro@openssl.org>1999-12-19 21:35:29 +0000
commita7c5241f5f23bf8eeb41efd7f4932f9e1359a38d (patch)
tree91faf211edc31118dc5f7c5e897806a7ba70f9bb /e_os.h
parent099f1b32c8a3334699b6884ba23824a49461d01f (diff)
downloadopenssl-a7c5241f5f23bf8eeb41efd7f4932f9e1359a38d.tar.gz
Late break-in patch for MacOS support.
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/e_os.h b/e_os.h
index 0c4fcf8741..12f39788eb 100644
--- a/e_os.h
+++ b/e_os.h
@@ -251,7 +251,11 @@ extern "C" {
# endif
# else
/* !defined VMS */
-# include OPENSLL_UNISTD
+# ifdef OPENSSL_UNISTD
+# include OPENSLL_UNISTD
+# else
+# include <unistd.h>
+# endif
# ifndef NO_SYS_TYPES_H
# include <sys/types.h>
# endif