Browse Source

fix building when __NR_sigalstack does not exist

Mike Frysinger 18 years ago
parent
commit
21f79fd580
1 changed files with 3 additions and 0 deletions
  1. 3 0
      libc/sysdeps/linux/common/sigaltstack.c

+ 3 - 0
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