diff options
Diffstat (limited to 'src/thread/call_once.c')
-rw-r--r-- | src/thread/call_once.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/thread/call_once.c b/src/thread/call_once.c index a7bc9353..5ed30183 100644 --- a/src/thread/call_once.c +++ b/src/thread/call_once.c @@ -1,6 +1,5 @@ #include <threads.h> - -int __pthread_once(once_flag *, void (*)(void)); +#include <pthread.h> void call_once(once_flag *flag, void (*func)(void)) { |