[2/3] syscalls/sighold02: Include lapi/signal.h for __SIGRT{MIN, MAX}

Message ID 20190220153412.18090-2-daniel.diaz@linaro.org
State New
Headers show
Series
  • [1/3] Add header file lapi/signal.h
Related show

Commit Message

Daniel Díaz Feb. 20, 2019, 3:34 p.m.
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/sighold/sighold02.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/testcases/kernel/syscalls/sighold/sighold02.c b/testcases/kernel/syscalls/sighold/sighold02.c
index d1d4b0b06..b763142df 100644
--- a/testcases/kernel/syscalls/sighold/sighold02.c
+++ b/testcases/kernel/syscalls/sighold/sighold02.c
@@ -49,6 +49,7 @@ 
 #include <sys/wait.h>
 #include "test.h"
 #include "safe_macros.h"
+#include "lapi/signal.h"
 
 /* _XOPEN_SOURCE disables NSIG */
 #ifndef NSIG