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)
This commit is contained in:
Randall S. Becker 2021-06-17 12:18:27 -05:00 committed by Tomas Mraz
parent 83c2744173
commit 0d40745671

View File

@ -24,6 +24,8 @@
# include <unistd.h>
#endif
# include <assert.h>
# ifdef PTHREAD_RWLOCK_INITIALIZER
# define USE_RWLOCK
# endif