Skip to content

Commit

Permalink
Fix build with libxml2 2.12
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jtojnar authored and lukefromdc committed Jan 1, 2024
1 parent 5ad4bfa commit 600b552
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cut-n-paste/toolbar-editor/egg-toolbars-model.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 600b552

Please sign in to comment.