diff options
Diffstat (limited to 'libc/stdlib/_atexit.c')
-rw-r--r-- | libc/stdlib/_atexit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdlib/_atexit.c b/libc/stdlib/_atexit.c index 236156001..75fe41fa2 100644 --- a/libc/stdlib/_atexit.c +++ b/libc/stdlib/_atexit.c @@ -48,6 +48,7 @@ libc_hidden_proto(_exit) #ifdef __UCLIBC_HAS_THREADS__ # include <pthread.h> +# include <pthreadP.h> extern pthread_mutex_t mylock; #endif #define LOCK __pthread_mutex_lock(&mylock) |