Skip to content

Commit

Permalink
xml: Fix compatibility with libxml 2.12
Browse files Browse the repository at this point in the history
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 <jtojnar@gmail.com>
  • Loading branch information
jtojnar authored and pcercuei committed Dec 12, 2023
1 parent 6fdb616 commit bb688d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <errno.h>
#include <iio/iio-debug.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <string.h>

Expand Down

0 comments on commit bb688d0

Please sign in to comment.