aboutsummaryrefslogtreecommitdiff
path: root/signal
diff options
context:
space:
mode:
Diffstat (limited to 'signal')
-rw-r--r--signal/Makefile3
-rw-r--r--signal/signal.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/signal/Makefile b/signal/Makefile
index ee15a2c..9d19a96 100644
--- a/signal/Makefile
+++ b/signal/Makefile
@@ -22,7 +22,8 @@
subdir := signal
headers := signal.h sys/signal.h bits/signum.h bits/sigcontext.h \
- bits/sigaction.h bits/sigset.h bits/siginfo.h bits/sigstack.h
+ bits/sigaction.h bits/sigset.h bits/siginfo.h bits/sigstack.h \
+ bits/sigthread.h
routines := signal raise killpg \
sigaction sigprocmask kill \
diff --git a/signal/signal.h b/signal/signal.h
index 5e983e4..c803a5b 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -352,6 +352,9 @@ extern int sigignore __P ((int __sig));
extern __sighandler_t sigset __P ((int __sig, __sighandler_t __disp));
#endif
+/* Some of the functions for handling signals in threaded programs must
+ be defined here. */
+#include <bits/sigthread.h>
/* The following functions are used internally in the C library and in
other code which need deep insights. */