diff options
author | Jan Tojnar <[email protected]> | 2023-12-13 08:18:12 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2024-01-01 20:05:03 +0000 |
commit | 600b552f162fa6b59a937be541d8a377807bcceb (patch) | |
tree | 0051e9cefb64970e5d8ff47fc8c7e3f06c440bbb | |
parent | 5ad4bfa14ab49f84bb56c1b3fc1f971190d868f5 (diff) | |
download | atril-600b552f162fa6b59a937be541d8a377807bcceb.tar.bz2 atril-600b552f162fa6b59a937be541d8a377807bcceb.tar.xz |
Fix build with libxml2 2.12
libxml 2.12.0 reorganized headers, resulting in xmlParseFile and xmlIndentTreeOutput no longer being in scope.
Let’s add the proper includes containing the symbols.
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-toolbars-model.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-toolbars-model.c b/cut-n-paste/toolbar-editor/egg-toolbars-model.c index ebf72b74..cede0c70 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbars-model.c +++ b/cut-n-paste/toolbar-editor/egg-toolbars-model.c @@ -27,7 +27,9 @@ #include <unistd.h> #include <string.h> +#include <libxml/parser.h> #include <libxml/tree.h> +#include <libxml/xmlsave.h> #include <gdk/gdk.h> static void egg_toolbars_model_finalize (GObject *object); |