From 04b261bdc13afd1f7644c756a23df3d43d400fa4 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 14 May 2019 21:35:09 +0200 Subject: Linux: Add the tgkill function The tgkill function is sometimes used in crash handlers. follows the same approach as (which was added for the gettid system call wrapper). Reviewed-by: Carlos O'Donell --- signal/Makefile | 2 +- signal/signal.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'signal') diff --git a/signal/Makefile b/signal/Makefile index 06034fee8e..4596112f0a 100644 --- a/signal/Makefile +++ b/signal/Makefile @@ -31,7 +31,7 @@ headers := signal.h sys/signal.h \ bits/types/sigevent_t.h bits/types/siginfo_t.h \ bits/types/sigset_t.h bits/types/sigval_t.h \ bits/types/stack_t.h bits/types/struct_sigstack.h \ - bits/types/__sigval_t.h + bits/types/__sigval_t.h bits/signal_ext.h routines := signal raise killpg \ sigaction sigprocmask kill \ diff --git a/signal/signal.h b/signal/signal.h index ee591fcb2d..4c0de7f6ce 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -370,6 +370,9 @@ extern int __libc_current_sigrtmax (void) __THROW; #define SIGRTMIN (__libc_current_sigrtmin ()) #define SIGRTMAX (__libc_current_sigrtmax ()) +/* System-specific extensions. */ +#include + __END_DECLS #endif /* not signal.h */ -- cgit 1.4.1