projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-remote-mediawiki: set 'basetimestamp' to let the wiki handle conflicts
[git.git]
/
thread-utils.h
diff --git
a/thread-utils.h
b/thread-utils.h
index 1727a03333b80f2a01ca029162a4b511480a86e8..6fb98c333c22a67512516bbf047c2cac270a66ae 100644
(file)
--- a/
thread-utils.h
+++ b/
thread-utils.h
@@
-1,7
+1,11
@@
#ifndef THREAD_COMPAT_H
#define THREAD_COMPAT_H
#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*);
extern int online_cpus(void);
extern int init_recursive_mutex(pthread_mutex_t*);
+#endif
#endif /* THREAD_COMPAT_H */
#endif /* THREAD_COMPAT_H */