diff options
Diffstat (limited to 'src/signal/sigsetjmp.c')
-rw-r--r-- | src/signal/sigsetjmp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/signal/sigsetjmp.c b/src/signal/sigsetjmp.c index cb2257f0..1bbe1a0b 100644 --- a/src/signal/sigsetjmp.c +++ b/src/signal/sigsetjmp.c @@ -1,5 +1,6 @@ #include <setjmp.h> #include <signal.h> +#include "libc.h" /* !!! This function will not work unless the compiler performs * tail call optimization. Machine-specific asm versions should @@ -12,3 +13,5 @@ int sigsetjmp(sigjmp_buf buf, int save) pthread_sigmask(SIG_SETMASK, 0, (sigset_t *)buf->__ss); return setjmp(buf); } + +weak_alias(sigsetjmp, __sigsetjmp); |