Another <unistd.h> ...
authorBodo Möller <bodo@openssl.org>
Thu, 10 Jun 1999 08:12:20 +0000 (08:12 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 10 Jun 1999 08:12:20 +0000 (08:12 +0000)
e_os.h

diff --git a/e_os.h b/e_os.h
index b8d053b..58934d1 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -59,6 +59,8 @@
 #ifndef HEADER_E_OS_H
 #define HEADER_E_OS_H
 
+#include <openssl/opensslconf.h>
+
 #include <openssl/e_os2.h>
 /* <openssl/e_os2.h> contains what we can justify to make visible
  * to the outside; this file e_os.h is not part of the exported
@@ -226,7 +228,8 @@ extern "C" {
                                     return(n); } while(0)
 #    endif
 #  else
-#    include <unistd.h>
+     /* !defined VMS */
+#    include OPENSSL_UNISTD
 
 #    define OPENSSL_CONF       "openssl.cnf"
 #    define SSLEAY_CONF                OPENSSL_CONF