diff mbox series

xfsprogs: include <signal.h> for platform_crash

Message ID 20210330155741.17193-1-leah@vuxu.org (mailing list archive)
State Accepted, archived
Headers show
Series xfsprogs: include <signal.h> for platform_crash | expand

Commit Message

Leah Neukirchen March 30, 2021, 3:57 p.m. UTC
Needed for kill(2) prototype and SIGKILL definition.
Fixes build on musl 1.1.24.

Signed-off-by: Leah Neukirchen <leah@vuxu.org>
---
 include/linux.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Darrick J. Wong March 30, 2021, 6:51 p.m. UTC | #1
On Tue, Mar 30, 2021 at 05:57:42PM +0200, Leah Neukirchen wrote:
> Needed for kill(2) prototype and SIGKILL definition.
> Fixes build on musl 1.1.24.
> 
> Signed-off-by: Leah Neukirchen <leah@vuxu.org>

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.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  include/linux.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux.h b/include/linux.h
> index 7bf59e07..a22f7812 100644
> --- a/include/linux.h
> +++ b/include/linux.h
> @@ -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>
> -- 
> 2.31.0
>
diff mbox series

Patch

diff --git a/include/linux.h b/include/linux.h
index 7bf59e07..a22f7812 100644
--- a/include/linux.h
+++ b/include/linux.h
@@ -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>