summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandall S. Becker <rsbecker@nexbridge.com>2021-06-17 12:18:27 -0500
committerTomas Mraz <tomas@openssl.org>2021-06-23 17:34:06 +0200
commit0d40745671e562725e865167854be66222798ae1 (patch)
treee06ada774d3d88eb396bab209b1033d7f03302d7
parent83c2744173a48643a4c3a05e379f7616e4f0cc51 (diff)
Add assert.h to threads_pthread.c for NonStop thread compiles.
Fixes: #15809 Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15812)
-rw-r--r--crypto/threads_pthread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c
index ecb53299c4..00a98f4c71 100644
--- a/crypto/threads_pthread.c
+++ b/crypto/threads_pthread.c
@@ -24,6 +24,8 @@
# include <unistd.h>
#endif
+# include <assert.h>
+
# ifdef PTHREAD_RWLOCK_INITIALIZER
# define USE_RWLOCK
# endif