Merge branch 'pw/t5800-import-race-fix' into maint
[gitweb.git] / thread-utils.h
index cce4b77bd6452e2ec589d8c0dc0e8156352dd67b..6fb98c333c22a67512516bbf047c2cac270a66ae 100644 (file)
@@ -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 */