From 7fc6ddde8e2a6b1b0a3c27955f969bea4ad516a0 Mon Sep 17 00:00:00 2001
From: raveit65 <mate@raveit.de>
Date: Fri, 24 Nov 2023 18:20:52 +0100
Subject: [PATCH] fix building with libxml 2.12.0
---
src/themes/coco/coco-theme.c | 2 ++
src/themes/nodoka/nodoka-theme.c | 2 ++
src/themes/slider/theme.c | 2 ++
src/themes/standard/theme.c | 2 ++
4 files changed, 8 insertions(+)
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index 221d358..dbed838 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -28,6 +28,8 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <libxml/parser.h>
+#include <libxml/xmlmemory.h>
#include <libxml/xpath.h>
/* Define basic coco types */
diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c
index 3799ac2..bb3cee7 100644
--- a/src/themes/nodoka/nodoka-theme.c
+++ b/src/themes/nodoka/nodoka-theme.c
@@ -27,6 +27,8 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <libxml/parser.h>
+#include <libxml/xmlmemory.h>
#include <libxml/xpath.h>
/* Define basic nodoka types */
diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c
index 38b21d4..6839d64 100644
--- a/src/themes/slider/theme.c
+++ b/src/themes/slider/theme.c
@@ -26,6 +26,8 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <libxml/parser.h>
+#include <libxml/xmlmemory.h>
#include <libxml/xpath.h>
typedef void (*ActionInvokedCb) (GtkWindow* nw, const char* key);
diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c
index bbe6a71..54fc24f 100644
--- a/src/themes/standard/theme.c
+++ b/src/themes/standard/theme.c
@@ -25,6 +25,8 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <libxml/parser.h>
+#include <libxml/xmlmemory.h>
#include <libxml/xpath.h>
typedef void (*ActionInvokedCb) (GtkWindow* nw, const char* key);
--
2.41.0