[libvirt PATCH 3/6] util: viruri: move libxml include

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

 



The XML function is needed in the C file,
not in the header.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 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




[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