80a318
From 09f06f6286f864fefdf4877b5792999e0d4e89d1 Mon Sep 17 00:00:00 2001
80a318
From: Michal Privoznik <mprivozn@redhat.com>
80a318
Date: Mon, 20 Nov 2023 03:18:12 +0100
80a318
Subject: [PATCH 4/7] virxml: include <libxml/xmlsave.h> for
80a318
 xmlIndentTreeOutput declaration
80a318
MIME-Version: 1.0
80a318
Content-Type: text/plain; charset=UTF-8
80a318
Content-Transfer-Encoding: 8bit
80a318
80a318
After libxml2's commit of v2.12.0~101 we no longer get
80a318
xmlIndentTreeOutput declaration by us including just
80a318
libxml/xpathInternals.h and libxml2's header files leakage.
80a318
80a318
Resolves: https://bugs.gentoo.org/917516
80a318
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
80a318
Reviewed-by: Ján Tomko <jtomko@redhat.com>
80a318
(cherry picked from commit 7a5f232be2269e74943a029c0e8b1b0124674a6c)
80a318
---
80a318
 src/util/virxml.c | 1 +
80a318
 1 file changed, 1 insertion(+)
80a318
80a318
diff --git a/src/util/virxml.c b/src/util/virxml.c
80a318
index 0c1eae8c3c..4f215a0e59 100644
80a318
--- a/src/util/virxml.c
80a318
+++ b/src/util/virxml.c
80a318
@@ -24,6 +24,7 @@
80a318
 #include <math.h>               /* for isnan() */
80a318
 #include <sys/stat.h>
80a318
 
80a318
+#include <libxml/xmlsave.h>
80a318
 #include <libxml/xpathInternals.h>
80a318
 
80a318
 #include "virerror.h"
80a318
-- 
80a318
2.43.0
80a318