Skip to contentSkip to conversation

xfsprogs: include <signal.h> for platform_crash

PATCH In review Leah Neukirchen 2 participants 2 messages Mar 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfsprogs: include <signal.h> for platform_crash

Needed for kill(2) prototype and SIGKILL definition. Fixes build on musl 1.1.24.

---
 include/linux.h | 1 +
 1 file changed, 1 insertion(+)
include/linux.h +1 -0
index 7bf59e07..a22f7812 100644
@@ -18,6 +18,7 @@
 #include <endian.h>
 #include <stdbool.h>
 #include <stdio.h>
+#include <signal.h>
 #include <asm/types.h>
 #include <mntent.h>
 #include <fcntl.h>
Signature · 1 line
2.31.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Leah Neukirchen

Needed for kill(2) prototype and SIGKILL definition. Fixes build on musl 1.1.24.

Looks good to me, and I'll remind everyone that we (your maintainers) rely on the help of the wider community for building and testing on non-default configurations.

--D

Quoted 19 lines
---
 include/linux.h | 1 +
 1 file changed, 1 insertion(+)
include/linux.h +1 -0
index 7bf59e07..a22f7812 100644
@@ -18,6 +18,7 @@
 #include <endian.h>
 #include <stdbool.h>
 #include <stdio.h>
+#include <signal.h>
 #include <asm/types.h>
 #include <mntent.h>
 #include <fcntl.h>
Signature · 1 line
2.31.0