summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/async/arch/async_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/crypto/async/arch/async_posix.h')
-rw-r--r--deps/openssl/openssl/crypto/async/arch/async_posix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/openssl/openssl/crypto/async/arch/async_posix.h b/deps/openssl/openssl/crypto/async/arch/async_posix.h
index 76937a9e4d..939b4ab183 100644
--- a/deps/openssl/openssl/crypto/async/arch/async_posix.h
+++ b/deps/openssl/openssl/crypto/async/arch/async_posix.h
@@ -17,7 +17,8 @@
# include <unistd.h>
-# if _POSIX_VERSION >= 200112L
+# if _POSIX_VERSION >= 200112L \
+ && (_POSIX_VERSION < 200809L || defined(__GLIBC__))
# include <pthread.h>