diff options
Diffstat (limited to 'src/signal/signal.c')
-rw-r--r-- | src/signal/signal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/signal/signal.c b/src/signal/signal.c index 08902760..07346a8a 100644 --- a/src/signal/signal.c +++ b/src/signal/signal.c @@ -1,6 +1,7 @@ #include <signal.h> #include <stddef.h> #include "syscall.h" +#include "libc.h" int __sigaction(int, const struct sigaction *, struct sigaction *); @@ -11,3 +12,5 @@ void (*signal(int sig, void (*func)(int)))(int) return SIG_ERR; return sa.sa_handler; } + +weak_alias(signal, bsd_signal); |