Author: Jaret Cantu <jaret.cantu@timesys.com>
Date:   Thu May 24 17:14:53 EDT 2018

    Prevent openssl from using make/[sg]etcontext if it does not exist

---
 crypto/async/arch/async_posix.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/async/arch/async_posix.h b/crypto/async/arch/async_posix.h
index a17c6b8..4b6911f 100644
--- a/crypto/async/arch/async_posix.h
+++ b/crypto/async/arch/async_posix.h
@@ -18,7 +18,7 @@
 # include <unistd.h>
 
 # if _POSIX_VERSION >= 200112L \
-     && (_POSIX_VERSION < 200809L || defined(__GLIBC__))
+     && (_POSIX_VERSION < 200809L || defined(__GLIBC__)) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_CONTEXT_FUNCS__))
 
 # include <pthread.h>
 
-- 
2.25.1

