X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fthreads.h;h=77e39d494f77a579830cd2151ab68a55bf9a31eb;hb=3862b03514c94f37966f61693619e6483ead6045;hp=2e1f6faeadc908c71146722c24c377f1a3dee845;hpb=55f96acf69e6a3b499ff8d1c8d400f5aba0f7ce0;p=pdclib.old 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)