diff options
Diffstat (limited to 'libc/stdio/popen.c')
-rw-r--r-- | libc/stdio/popen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c index 2163d7f8c..044426abf 100644 --- a/libc/stdio/popen.c +++ b/libc/stdio/popen.c @@ -42,6 +42,7 @@ libc_hidden_proto(fork) #ifdef __UCLIBC_HAS_THREADS__ # include <pthread.h> +# include <pthreadP.h> static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER; #endif #define LOCK __pthread_mutex_lock(&mylock) |