]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ch: Include unistd.h in ch_events.c
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 27 Jan 2025 15:51:55 +0000 (16:51 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 27 Jan 2025 16:35:53 +0000 (17:35 +0100)
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@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/ch/ch_events.c

index ba5b247c83081ceb50e3c79b1461b50478d298e1..1cce30836a29a0558e68daea025626e6506730d7 100644 (file)
@@ -20,6 +20,8 @@
 
 #include <config.h>
 
+#include <unistd.h>
+
 #include "ch_domain.h"
 #include "ch_events.h"
 #include "ch_process.h"