From e75018a534c972216bce30f5b01de9db1ef6607b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 27 Apr 2025 13:18:15 +0100 Subject: [PATCH] fuse/guestunmount.c: Include On macOS this fails with: guestunmount.c:170:5: error: call to undeclared function 'sigaction'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | sigaction (SIGINT, &sa, NULL); | ^ 1 error generated. Reported-by: Mohamed Akram Related: https://github.com/libguestfs/libguestfs/pull/188 --- fuse/guestunmount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fuse/guestunmount.c b/fuse/guestunmount.c index c7152d076..f3f002034 100644 --- a/fuse/guestunmount.c +++ b/fuse/guestunmount.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include