[libvirt PATCH 1/4] maint: add required includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 src/nwfilter/nwfilter_ebiptables_driver.c | 1 +
 src/util/virfirewalld.c                   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/nwfilter/nwfilter_ebiptables_driver.c b/src/nwfilter/nwfilter_ebiptables_driver.c
index 63ba69f794..0c420dd91f 100644
--- a/src/nwfilter/nwfilter_ebiptables_driver.c
+++ b/src/nwfilter/nwfilter_ebiptables_driver.c
@@ -22,6 +22,7 @@
 
 #include <config.h>
 
+#include <unistd.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/utsname.h>
diff --git a/src/util/virfirewalld.c b/src/util/virfirewalld.c
index 4795bf7925..5a0a45f324 100644
--- a/src/util/virfirewalld.c
+++ b/src/util/virfirewalld.c
@@ -32,6 +32,7 @@
 #include "virlog.h"
 #include "virgdbus.h"
 #include "virenum.h"
+#include "virstring.h"
 
 #define VIR_FROM_THIS VIR_FROM_FIREWALLD
 
-- 
2.34.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux