From: Michal Privoznik Date: Mon, 27 Jan 2025 15:51:55 +0000 (+0100) Subject: ch: Include unistd.h in ch_events.c X-Git-Tag: v11.1.0-rc1~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4819a14fecbedb145ff84715f9dd970a0f6b9618;p=thirdparty%2Flibvirt.git ch: Include unistd.h in ch_events.c 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 Reviewed-by: Pavel Hrdina --- 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 +#include + #include "ch_domain.h" #include "ch_events.h" #include "ch_process.h"