| 1 | From 694d8ae43d06efff21adebf377ce614d660b24cd Mon Sep 17 00:00:00 2001
|
| 2 | From: Christian Hesse <[email protected]>
|
| 3 | Date: Fri, 17 Nov 2023 22:30:42 +0100
|
| 4 | Subject: [PATCH] include missing header file
|
| 5 | MIME-Version: 1.0
|
| 6 | Content-Type: text/plain; charset=UTF-8
|
| 7 | Content-Transfer-Encoding: 8bit
|
| 8 |
|
| 9 | This fixes build error:
|
| 10 | ```
|
| 11 | /build/inkscape/src/inkscape/src/object/uri.cpp: In constructor ‘Inkscape::URI::URI(const gchar*, const char*)’:
|
| 12 | /build/inkscape/src/inkscape/src/object/uri.cpp:86:9: error: ‘xmlFree’ was not declared in this scope; did you mean ‘xmlFreeURI’?
|
| 13 | 86 | xmlFree(full);
|
| 14 | ```
|
| 15 | ---
|
| 16 | src/object/uri.h | 1 +
|
| 17 | 1 file changed, 1 insertion(+)
|
| 18 |
|
| 19 | diff --git a/src/object/uri.h b/src/object/uri.h
|
| 20 | index 381adec58cf..d5b211fe2b2 100644
|
| 21 | |
| 22 | |
| 23 | @@ -13,6 +13,7 @@
|
| 24 | #define INKSCAPE_URI_H
|
| 25 |
|
| 26 | #include <libxml/uri.h>
|
| 27 | +#include <libxml/xmlmemory.h>
|
| 28 | #include <memory>
|
| 29 | #include <string>
|
| 30 |
|
| 31 | --
|
| 32 | GitLab
|
| 33 |
|