diff options
Diffstat (limited to 'thread-utils.h')
| -rw-r--r-- | thread-utils.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/thread-utils.h b/thread-utils.h index 1727a03333..6fb98c333c 100644 --- a/thread-utils.h +++ b/thread-utils.h @@ -1,7 +1,11 @@  #ifndef THREAD_COMPAT_H  #define THREAD_COMPAT_H +#ifndef NO_PTHREADS +#include <pthread.h> +  extern int online_cpus(void);  extern int init_recursive_mutex(pthread_mutex_t*); +#endif  #endif /* THREAD_COMPAT_H */  | 
