]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: include virfirewall.h in virfirewalld.h
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 3 May 2023 08:42:12 +0000 (10:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 10 May 2023 12:41:53 +0000 (14:41 +0200)
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>
src/util/virfirewalld.h

index 004d10ec299966239e38060165e8faaed154ab65..0e94d3507b8d496801c6594046e1a2bc72740a89 100644 (file)
@@ -20,6 +20,8 @@
 
 #pragma once
 
+#include "virfirewall.h"
+
 #define VIR_FIREWALL_FIREWALLD_SERVICE "org.fedoraproject.FirewallD1"
 
 typedef enum {