]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: viruri: move libxml include
authorJán Tomko <jtomko@redhat.com>
Sun, 16 Feb 2020 22:02:12 +0000 (23:02 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 13:30:40 +0000 (15:30 +0200)
The XML function is needed in the C file,
not in the header.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/util/viruri.c
src/util/viruri.h

index 492454a3df93df8f80535f82524ece59f8728178..598adffede73bb3ab75f71bdd484bb97b23f9045 100644 (file)
@@ -20,6 +20,8 @@
 
 #include <config.h>
 
+#include <libxml/uri.h>
+
 #include "viruri.h"
 
 #include "viralloc.h"
index 1735620a2fc0e961269aa89a82b669c105d63d76..e607ecc109e720e3f23d65b0ab29470064d89e22 100644 (file)
@@ -20,8 +20,6 @@
 
 #pragma once
 
-#include <libxml/uri.h>
-
 #include "internal.h"
 #include "virconf.h"