[Libguestfs] [p2v PATCH 1/5] Include signal.h

Pino Toscano ptoscano at redhat.com
Fri Jul 12 15:03:19 UTC 2019


It is needed for kill() and the SIG* macros.
---
 conversion.c | 1 +
 ssh.c        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/conversion.c b/conversion.c
index 7dd201a..3d07c7e 100644
--- a/conversion.c
+++ b/conversion.c
@@ -46,6 +46,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <signal.h>
 
 #include <pthread.h>
 
diff --git a/ssh.c b/ssh.c
index c852803..fca5883 100644
--- a/ssh.c
+++ b/ssh.c
@@ -52,6 +52,7 @@
 #include <libintl.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <signal.h>
 
 #include "ignore-value.h"
 #include "getprogname.h"
-- 
2.21.0




More information about the Libguestfs mailing list