1From 8a21b58b45edbf11d9041f884bb9c42e6440104c Mon Sep 17 00:00:00 2001 2From: Thomas Petazzoni <thomas.petazzoni@bootlin.com> 3Date: Tue, 26 Dec 2023 14:38:58 +0100 4Subject: [PATCH] libsoup/{soup-xmlrpc,soup-xmlrpc-old}: add missing 5 <libxml/parser.h> include 6 7Since libxml2 2.12.1, including <libxml/parser.h> is needed to get the 8prototype of xmlParseMemory(), causing a build breakage of libsoup 9with a recent version of libxml2. 10 11Upstream: Not Applicable 12[libsoup2 is not maintained upstream, and libsoup3 no longer contains 13the XMLRPC code. We are keepin libsoup2 in Buildroot for compatibility 14with packages that haven't moved to libsoup3 yet.] 15Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> 16--- 17 libsoup/soup-xmlrpc-old.c | 1 + 18 libsoup/soup-xmlrpc.c | 1 + 19 2 files changed, 2 insertions(+) 20 21diff --git a/libsoup/soup-xmlrpc-old.c b/libsoup/soup-xmlrpc-old.c 22index c57086b6..dd51de53 100644 23--- a/libsoup/soup-xmlrpc-old.c 24+++ b/libsoup/soup-xmlrpc-old.c 25@@ -12,6 +12,7 @@ 26 #include <string.h> 27 28 #include <libxml/tree.h> 29+#include <libxml/parser.h> 30 31 #include "soup-xmlrpc-old.h" 32 #include "soup.h" 33diff --git a/libsoup/soup-xmlrpc.c b/libsoup/soup-xmlrpc.c 34index 42dcda9c..b0132d26 100644 35--- a/libsoup/soup-xmlrpc.c 36+++ b/libsoup/soup-xmlrpc.c 37@@ -18,6 +18,7 @@ 38 #include <string.h> 39 #include <errno.h> 40 #include <libxml/tree.h> 41+#include <libxml/parser.h> 42 #include "soup-xmlrpc.h" 43 #include "soup.h" 44 45-- 462.43.0 47 48