X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Ftime%2Ftimer_create.c;h=6cc2bcf07342d3a2a8b727c0b0da51a506883345;hp=560f1a8468384ff0e4f189314903bc31e4aebcd7;hb=ccc7b4c3a17ade90de71e1e0f44deebbffd646e6;hpb=400c5e5c8307a2ebe44ef1f203f5a15669f20347 diff --git a/src/time/timer_create.c b/src/time/timer_create.c index 560f1a84..6cc2bcf0 100644 --- a/src/time/timer_create.c +++ b/src/time/timer_create.c @@ -1,4 +1,5 @@ #include +#include #include "pthread_impl.h" struct ksigevent { @@ -52,7 +53,7 @@ static void install_handler() }; __libc_sigaction(SIGTIMER, &sa, 0); __syscall(SYS_rt_sigprocmask, SIG_UNBLOCK, - SIGTIMER_SET, 0, __SYSCALL_SSLEN); + SIGTIMER_SET, 0, _NSIG/8); } static void *start(void *arg)