summaryrefslogtreecommitdiff
path: root/thread-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread-utils.h')
-rw-r--r--thread-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/thread-utils.h b/thread-utils.h
index cce4b77bd6..6fb98c333c 100644
--- a/thread-utils.h
+++ b/thread-utils.h
@@ -1,6 +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 */