From 00517f3ab6cffee48c6af569bad6494fcf300dc0 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 10 Dec 2023 21:52:05 +0100 Subject: [PATCH] xml: Fix compatibility with libxml 2.12 libxml 2.12.0 reorganized includes, resulting in the following no longer being in scope: - XML_PARSE_DTDVALID - xmlReadMemory - xmlReadFile - xmlCleanupParser Signed-off-by: Jan Tojnar (cherry picked from commit bb688d04294dda45e68dfaf13e3bc1187841e52a) (cherry picked from commit b1170cacff24cdfd3858edc2285c51cadef11488) --- xml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xml.c b/xml.c index 33f026103..3eaed92b3 100644 --- a/xml.c +++ b/xml.c @@ -10,6 +10,7 @@ #include "iio-private.h" #include +#include #include #include