Even more late break-in MacOS tidbits (last for today)...
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index 0c4fcf87411c8d6adadbaac3c72bbf60c1764551..f651b32fd5636d5b5b3275c3f925228b5e7cbd45 100644 (file)
--- 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 OPENSSL_UNISTD
+#    else
+#      include <unistd.h>
+#    endif
 #    ifndef NO_SYS_TYPES_H
 #      include <sys/types.h>
 #    endif