diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-14 00:37:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-14 00:37:57 +0000 |
commit | 21f79fd580a5c70f7b7598d8ca8e87770219db94 (patch) | |
tree | d0c690e741505231561f1128a9a41922dae30aaf /libc/sysdeps | |
parent | 707608fef04cb4ce4c6a4de3a64dda0fa6b4bd70 (diff) |
fix building when __NR_sigalstack does not exist
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/sigaltstack.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/sigaltstack.c b/libc/sysdeps/linux/common/sigaltstack.c index 4267c747c..624c87792 100644 --- a/libc/sysdeps/linux/common/sigaltstack.c +++ b/libc/sysdeps/linux/common/sigaltstack.c @@ -9,5 +9,8 @@ #include <sys/syscall.h> #include <signal.h> + +#ifdef __NR_sigaltstack _syscall2(int, sigaltstack, const struct sigaltstack *, ss, struct sigaltstack *, oss); +#endif |