[PATCH 3/6] virxml: include <libxml/xmlsave.h> for xmlIndentTreeOutput declaration

Michal Privoznik posted 6 patches 2 years, 2 months ago
[PATCH 3/6] virxml: include <libxml/xmlsave.h> for xmlIndentTreeOutput declaration
Posted by Michal Privoznik 2 years, 2 months ago
After libxml2's commit of v2.12.0~101 we no longer get
xmlIndentTreeOutput declaration by us including just
libxml/xpathInternals.h and libxml2's header files leakage.

Resolves: https://bugs.gentoo.org/917516
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
 src/util/virxml.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/virxml.c b/src/util/virxml.c
index 0c1eae8c3c..4f215a0e59 100644
--- a/src/util/virxml.c
+++ b/src/util/virxml.c
@@ -24,6 +24,7 @@
 #include <math.h>               /* for isnan() */
 #include <sys/stat.h>
 
+#include <libxml/xmlsave.h>
 #include <libxml/xpathInternals.h>
 
 #include "virerror.h"
-- 
2.41.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 3/6] virxml: include <libxml/xmlsave.h> for xmlIndentTreeOutput declaration
Posted by Ján Tomko 2 years, 2 months ago
On a Tuesday in 2023, Michal Privoznik wrote:
>After libxml2's commit of v2.12.0~101 we no longer get
>xmlIndentTreeOutput declaration by us including just
>libxml/xpathInternals.h and libxml2's header files leakage.
>
>Resolves: https://bugs.gentoo.org/917516
>Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
>---
> src/util/virxml.c | 1 +
> 1 file changed, 1 insertion(+)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org