[PATCH] ch: Include unistd.h in ch_events.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's a call to read() in the file but corresponding include of
unistd.h is missing causing a build failure.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---

Green pipeline:

https://gitlab.com/MichalPrivoznik/libvirt/-/pipelines/1642845347

 src/ch/ch_events.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ch/ch_events.c b/src/ch/ch_events.c
index ba5b247c83..1cce30836a 100644
--- a/src/ch/ch_events.c
+++ b/src/ch/ch_events.c
@@ -20,6 +20,8 @@
 
 #include <config.h>
 
+#include <unistd.h>
+
 #include "ch_domain.h"
 #include "ch_events.h"
 #include "ch_process.h"
-- 
2.45.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux