summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/c6x/sigaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/c6x/sigaction.c')
-rw-r--r--libc/sysdeps/linux/c6x/sigaction.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/c6x/sigaction.c b/libc/sysdeps/linux/c6x/sigaction.c
index 38f8204b4..2f3a18462 100644
--- a/libc/sysdeps/linux/c6x/sigaction.c
+++ b/libc/sysdeps/linux/c6x/sigaction.c
@@ -28,6 +28,9 @@
#include <string.h>
#include <sys/syscall.h>
#include <bits/kernel_sigaction.h>
+#ifdef __UCLIBC_HAS_THREADS_NATIVE__
+# include <pthreadP.h> /* SIGCANCEL */
+#endif
#define SA_RESTORER 0x04000000