The XML function is needed in the C file,
not in the header.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/util/viruri.c | 2 ++
src/util/viruri.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/viruri.c b/src/util/viruri.c
index 492454a3df..598adffede 100644
--- a/src/util/viruri.c
+++ b/src/util/viruri.c
@@ -20,6 +20,8 @@
#include <config.h>
+#include <libxml/uri.h>
+
#include "viruri.h"
#include "viralloc.h"
diff --git a/src/util/viruri.h b/src/util/viruri.h
index 1735620a2f..e607ecc109 100644
--- a/src/util/viruri.h
+++ b/src/util/viruri.h
@@ -20,8 +20,6 @@
#pragma once
-#include <libxml/uri.h>
-
#include "internal.h"
#include "virconf.h"
--
2.26.2