summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-14 00:37:57 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-14 00:37:57 +0000
commit21f79fd580a5c70f7b7598d8ca8e87770219db94 (patch)
treed0c690e741505231561f1128a9a41922dae30aaf /libc/sysdeps/linux/common
parent707608fef04cb4ce4c6a4de3a64dda0fa6b4bd70 (diff)
fix building when __NR_sigalstack does not exist
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/sigaltstack.c3
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