summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sigsuspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/sigsuspend.c')
-rw-r--r--libc/sysdeps/linux/common/sigsuspend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/sigsuspend.c b/libc/sysdeps/linux/common/sigsuspend.c
index 373bd333a..81bbbeec4 100644
--- a/libc/sysdeps/linux/common/sigsuspend.c
+++ b/libc/sysdeps/linux/common/sigsuspend.c
@@ -8,6 +8,8 @@
*/
#include <sys/syscall.h>
+
+#if defined __USE_POSIX
#include <signal.h>
extern __typeof(sigsuspend) __libc_sigsuspend;
@@ -33,3 +35,4 @@ int __libc_sigsuspend(const sigset_t * set)
libc_hidden_proto(sigsuspend)
weak_alias(__libc_sigsuspend,sigsuspend)
libc_hidden_weak(sigsuspend)
+#endif