index-pack: fix compilation with NO_PTHREADS
[git/git.git] / thread-utils.h
CommitLineData
833e3df1
AE
1#ifndef THREAD_COMPAT_H
2#define THREAD_COMPAT_H
3
b361888d
JH
4#ifndef NO_PTHREADS
5#include <pthread.h>
6
833e3df1 7extern int online_cpus(void);
93749194 8extern int init_recursive_mutex(pthread_mutex_t*);
833e3df1 9
b361888d 10#endif
833e3df1 11#endif /* THREAD_COMPAT_H */