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(a)redhat.com>
---
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