Explorar o código

fix building when __NR_sigalstack does not exist

Mike Frysinger %!s(int64=19) %!d(string=hai) anos
pai
achega
21f79fd580
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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