From e51329d3815df95bf0ff66925c3961794f4c66d1 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 11 May 2016 11:18:57 +0100 Subject: [PATCH] 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 --- crypto/async/arch/async_posix.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1