[LTP] [PATCH 3/3] syscalls/ptrace05: Include lapi/signal.h for __SIGRT{MIN, MAX}

Daniel Díaz daniel.diaz@linaro.org
Wed Feb 20 16:34:12 CET 2019


MUSL does not include __SIGRTMIN nor __SIGRTMAX. The
compatibility header can help here.

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
---
 testcases/kernel/syscalls/ptrace/ptrace05.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/syscalls/ptrace/ptrace05.c b/testcases/kernel/syscalls/ptrace/ptrace05.c
index 420330029..54cfa4d7b 100644
--- a/testcases/kernel/syscalls/ptrace/ptrace05.c
+++ b/testcases/kernel/syscalls/ptrace/ptrace05.c
@@ -38,6 +38,7 @@
 #include "ptrace.h"
 
 #include "test.h"
+#include "lapi/signal.h"
 
 char *TCID = "ptrace05";
 int TST_TOTAL = 0;
-- 
2.17.1



More information about the ltp mailing list