X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fthreads.h;h=77e39d494f77a579830cd2151ab68a55bf9a31eb;hb=37410fba364fbbbda4c4648c254d08be4fd01984;hp=2e1f6faeadc908c71146722c24c377f1a3dee845;hpb=2161cbbbb7f496c62f2e50e958beb3de988f4fcb;p=pdclib diff --git a/includes/threads.h b/includes/threads.h index 2e1f6fa..77e39d4 100644 --- a/includes/threads.h +++ b/includes/threads.h @@ -1,5 +1,6 @@ #ifndef _PDCLIB_THREADS_H #define _PDCLIB_THREADS_H +#include <_PDCLIB_int.h> #include <_PDCLIB_threadconfig.h> #include _PDCLIB_BEGIN_EXTERN_C @@ -33,7 +34,7 @@ static inline void call_once(once_flag *flag, void (*func)(void)) } } #else -void call_once(once_flag *flag, void (*func)(void)) +void call_once(once_flag *flag, void (*func)(void)); #endif #if defined(_PDCLIB_MTX_T)