src: Include <libxml/parser.h> master
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 27 Nov 2023 14:09:04 +0000 (14:09 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 27 Nov 2023 14:09:04 +0000 (14:09 +0000)
commitdd205eeae9fb06ac113884e4c9e9f3a90eef7554
tree02635b581a8a55ea8f9745ebff30aab2985cfa05
parent1d04fdfce6edea685596fbb18920799c70f1d7fa
src: Include <libxml/parser.h>

libxml2 2.12.1 failed with this error:

xml-c.c:92:9: warning: implicit declaration of function ‘xmlReadMemory’; did you mean ‘xmlInitMemory’? [-Wimplicit-function-declaration]
   92 |   doc = xmlReadMemory (String_val (xmlv), caml_string_length (xmlv),
      |         ^~~~~~~~~~~~~
      |         xmlInitMemory
src/xml-c.c