summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/c6x
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-05-12 23:47:00 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:44 +0200
commit93002a29bca1eb9d5f83da7569e30a50b8696238 (patch)
treeab04dc73658e9fd152abda03951f6ba8d776777e /libc/sysdeps/linux/c6x
parentfe1423c4a8121454f689a6ecb30a4d1bf418607c (diff)
include pthreadP.h for SIGCANCEL
based on a patch from Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/c6x')
-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