From: Michal Privoznik Date: Wed, 3 May 2023 08:42:12 +0000 (+0200) Subject: util: include virfirewall.h in virfirewalld.h X-Git-Tag: v9.4.0-rc1~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c033377a1785741483ee90cd5238d3b36f43d3d4;p=thirdparty%2Flibvirt.git util: include virfirewall.h in virfirewalld.h The virfirewalld.h file provides a declaration for virFirewallDApplyRule() which accepts an argument of type virFirewallLayer. But the typedef lives in virfirewall.h and thus including just virfirewalld.h is not sufficient. Signed-off-by: Michal Privoznik Reviewed-by: Kristina Hanicova --- diff --git a/src/util/virfirewalld.h b/src/util/virfirewalld.h index 004d10ec29..0e94d3507b 100644 --- a/src/util/virfirewalld.h +++ b/src/util/virfirewalld.h @@ -20,6 +20,8 @@ #pragma once +#include "virfirewall.h" + #define VIR_FIREWALL_FIREWALLD_SERVICE "org.fedoraproject.FirewallD1" typedef enum {