]> xenbits.xensource.com Git - libvirt.git/commitdiff
maint: add required includes
authorJán Tomko <jtomko@redhat.com>
Sun, 23 Feb 2020 23:43:36 +0000 (00:43 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 3 Feb 2022 13:10:03 +0000 (14:10 +0100)
Some files do not include what they use and rely on virutil.h
to pull in the necessary header files.

Fix it.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/nwfilter/nwfilter_ebiptables_driver.c
src/util/virfirewalld.c

index 63ba69f794919c35bddae3be47095698b72aa982..0c420dd91f761dbacaea0c67031a89b22460f67b 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <config.h>
 
+#include <unistd.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/utsname.h>
index 4795bf79251eef313ea86f155eadbc6b5ffc0369..5a0a45f32412522d919542d681a453ddde96543e 100644 (file)
@@ -32,6 +32,7 @@
 #include "virlog.h"
 #include "virgdbus.h"
 #include "virenum.h"
+#include "virstring.h"
 
 #define VIR_FROM_THIS VIR_FROM_FIREWALLD