Added
Link Here
|
1 |
From 2a06be6a10a0718f8a3d8e00c317f5042c99a467 Mon Sep 17 00:00:00 2001 |
2 |
From: Jan Tojnar <jtojnar@gmail.com> |
3 |
Date: Mon, 11 Dec 2023 01:55:53 +0100 |
4 |
Subject: [PATCH] Fix build with libxml2 2.12 |
5 |
MIME-Version: 1.0 |
6 |
Content-Type: text/plain; charset=UTF-8 |
7 |
Content-Transfer-Encoding: 8bit |
8 |
|
9 |
libxml 2.12.0 restructured headers so that xmlFree is no longer in the scope. |
10 |
Let’s add the correct include. |
11 |
--- |
12 |
src/af/util/xp/ut_stringbuf.cpp | 1 + |
13 |
1 file changed, 1 insertion(+) |
14 |
|
15 |
diff --git a/src/af/util/xp/ut_stringbuf.cpp b/src/af/util/xp/ut_stringbuf.cpp |
16 |
index f1e8d9078..88488ad67 100644 |
17 |
--- src/af/util/xp/ut_stringbuf.cpp |
18 |
+++ src/af/util/xp/ut_stringbuf.cpp |
19 |
@@ -26,6 +26,7 @@ |
20 |
#include <algorithm> |
21 |
|
22 |
#include <libxml/uri.h> |
23 |
+#include <libxml/xmlmemory.h> |
24 |
|
25 |
#include <glib.h> |
26 |
|
27 |
-- |
28 |
GitLab |
29 |
|