diff options
Diffstat (limited to 'signal')
-rw-r--r-- | signal/Makefile | 3 | ||||
-rw-r--r-- | signal/signal.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/signal/Makefile b/signal/Makefile index ee15a2c5f9..9d19a963a5 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 5e983e468e..c803a5bec4 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. */ |