X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=thread-utils.h;h=6fb98c333c22a67512516bbf047c2cac270a66ae;hb=96e33609974a79e6826dc62d008a8bc9c0923612;hp=1727a03333b80f2a01ca029162a4b511480a86e8;hpb=8a59702ad888c8c399b096759c1c678ffeca5b03;p=git.git diff --git a/thread-utils.h b/thread-utils.h index 1727a0333..6fb98c333 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 + extern int online_cpus(void); extern int init_recursive_mutex(pthread_mutex_t*); +#endif #endif /* THREAD_COMPAT_H */