aboutsummaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
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