Even more late break-in MacOS tidbits...
authorAndy Polyakov <appro@openssl.org>
Sun, 19 Dec 1999 22:56:23 +0000 (22:56 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 19 Dec 1999 22:56:23 +0000 (22:56 +0000)
crypto/des/des_locl.h
crypto/des/read_pwd.c
e_os.h

index d6ea17c..e50fa8f 100644 (file)
 
 #ifndef MSDOS
 #if !defined(VMS) || defined(__DECC)
-#include OPENSSL_UNISTD
+#ifdef OPENSSL_UNISTD
+# include OPENSSL_UNISTD
+#else
+# include <unistd.h>
+#endif
 #include <math.h>
 #endif
 #endif
index a262f98..ffa72be 100644 (file)
 
 #if !defined(MSDOS) && !defined(VMS) && !defined(WIN32)
 #include <openssl/opensslconf.h>
-#include OPENSSL_UNISTD
+#ifdef OPENSSL_UNISTD
+# include OPENSSL_UNISTD
+#else
+# include <unistd.h>
+#endif
 /* If unistd.h defines _POSIX_VERSION, we conclude that we
  * are on a POSIX system and have sigaction and termios. */
 #if defined(_POSIX_VERSION)
diff --git a/e_os.h b/e_os.h
index 12f3978..f651b32 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -252,7 +252,7 @@ extern "C" {
 #  else
      /* !defined VMS */
 #    ifdef OPENSSL_UNISTD
-#      include OPENSLL_UNISTD
+#      include OPENSSL_UNISTD
 #    else
 #      include <unistd.h>
 #    endif