aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/librsvg/fix-libxml2-2.13.5.patch
blob: 634f659f88099612beb4b8f7b2465210d4c44dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/rsvg-css.c b/rsvg-css.c
index 5b359a206..4f59281b6 100644
--- a/rsvg-css.c
+++ b/rsvg-css.c
@@ -839,7 +839,7 @@ rsvg_css_parse_overflow (const char *str, gboolean * inherit)
 }
 
 static void
-rsvg_xml_noerror (void *data, xmlErrorPtr error)
+rsvg_xml_noerror (void *data, const xmlError *error)
 {
 }
 
diff --git a/rsvg-private.h b/rsvg-private.h
index 82157bc..fb9c4e0 100644
--- a/rsvg-private.h
+++ b/rsvg-private.h
@@ -33,6 +33,7 @@

 #include <libxml/SAX.h>
 #include <libxml/xmlmemory.h>
+#include <libxml/tree.h>
 #include <pango/pango.h>
 #include <glib.h>
 #include <glib-object.h>