aboutsummaryrefslogtreecommitdiff
path: root/crypto/async/arch/async_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/async/arch/async_posix.h')
-rw-r--r--crypto/async/arch/async_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/async/arch/async_posix.h b/crypto/async/arch/async_posix.h
index 6cc313e..85d033f 100644
--- a/crypto/async/arch/async_posix.h
+++ b/crypto/async/arch/async_posix.h
@@ -53,7 +53,7 @@
#define OPENSSL_ASYNC_ARCH_ASYNC_POSIX_H
#include <openssl/e_os2.h>
-#if (defined(OPENSSL_SYS_UNIX) || defined(OPENSSL_SYS_CYGWIN)) && defined(OPENSSL_THREADS)
+#if (defined(OPENSSL_SYS_UNIX) || defined(OPENSSL_SYS_CYGWIN)) && defined(OPENSSL_THREADS) && !defined(OPENSSL_NO_ASYNC)
# include <unistd.h>