From: Matt Caswell Date: Wed, 11 May 2016 10:18:57 +0000 (+0100) Subject: OpenBSD doesn't have ucontext.h so don't try and include it X-Git-Tag: OpenSSL_1_1_0-pre6~629 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e51329d3815df95bf0ff66925c3961794f4c66d1;p=oweals%2Fopenssl.git 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 --- 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 -#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