X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=thread-utils.h;h=6fb98c333c22a67512516bbf047c2cac270a66ae;hb=19a6cd372a998df3079d870e02c064c5bb101841;hp=cce4b77bd6452e2ec589d8c0dc0e8156352dd67b;hpb=4d9e42f8f11c57b32b976a943c8ddaf6214e64b8;p=git.git diff --git a/thread-utils.h b/thread-utils.h index cce4b77bd..6fb98c333 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 + extern int online_cpus(void); +extern int init_recursive_mutex(pthread_mutex_t*); +#endif #endif /* THREAD_COMPAT_H */