Even more late break-in MacOS tidbits...

This commit is contained in:
Andy Polyakov 1999-12-19 22:56:23 +00:00
parent a7c5241f5f
commit 404fb7149e
3 changed files with 11 additions and 3 deletions

View file

@ -72,7 +72,11 @@
#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

View file

@ -58,7 +58,11 @@
#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)

2
e_os.h
View file

@ -252,7 +252,7 @@ extern "C" {
# else
/* !defined VMS */
# ifdef OPENSSL_UNISTD
# include OPENSLL_UNISTD
# include OPENSSL_UNISTD
# else
# include <unistd.h>
# endif