summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2023-05-03 10:42:12 +0200
committerMichal Privoznik <mprivozn@redhat.com>2023-05-10 14:41:53 +0200
commitc033377a1785741483ee90cd5238d3b36f43d3d4 (patch)
treedad0201858013c6c79276c038822473f2bade4fb
parent3d6bc5c61101aadd6fca5d558a44a1cba8120178 (diff)
downloadlibvirt-c033377a1785741483ee90cd5238d3b36f43d3d4.tar.gz
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 <mprivozn@redhat.com> Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
-rw-r--r--src/util/virfirewalld.h2
1 files changed, 2 insertions, 0 deletions
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 {