diff options
author | Matt Caswell <matt@openssl.org> | 2016-05-11 11:18:57 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-06-01 10:19:25 +0100 |
commit | e51329d3815df95bf0ff66925c3961794f4c66d1 (patch) | |
tree | 276f91137078be9bbfd540800221c8c04c895da5 /crypto/async | |
parent | befe31cd3839a7bf9d62b279ace71a0efbdd39b0 (diff) |
OpenBSD doesn't have ucontext.h so don't try and include it
On OpenBSD we turn off async capabilities due to no ucontext.h.
RT#4379
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/async')
-rw-r--r-- | crypto/async/arch/async_posix.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/async/arch/async_posix.h b/crypto/async/arch/async_posix.h index e0099c31c4..0d9245ebe9 100644 --- a/crypto/async/arch/async_posix.h +++ b/crypto/async/arch/async_posix.h @@ -11,7 +11,9 @@ #define OPENSSL_ASYNC_ARCH_ASYNC_POSIX_H #include <openssl/e_os2.h> -#if (defined(OPENSSL_SYS_UNIX) || defined(OPENSSL_SYS_CYGWIN)) && defined(OPENSSL_THREADS) && !defined(OPENSSL_NO_ASYNC) && !defined(__ANDROID__) +#if (defined(OPENSSL_SYS_UNIX) || defined(OPENSSL_SYS_CYGWIN)) \ + && defined(OPENSSL_THREADS) && !defined(OPENSSL_NO_ASYNC) \ + && !defined(__ANDROID__) && !defined(__OpenBSD__) # include <unistd.h> |