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 d6ea17cb68140c3a4795e4338f5373b9be77bfcc..e50fa8fb38ab6f663a40c6a855676533592fe53d 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 a262f98ed763ec9eab69ee73b7bb7b51a226e431..ffa72be7348b172346fe35100a093f20150ac85e 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 12f39788ebf70fa116184db6ec84c55231bce4e7..f651b32fd5636d5b5b3275c3f925228b5e7cbd45 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