From: Richard W.M. Jones Date: Mon, 27 Nov 2023 14:09:04 +0000 (+0000) Subject: src: Include X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=virt-top.git src: Include 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 --- diff --git a/src/xml-c.c b/src/xml-c.c index 72042bf..6c546b9 100644 --- a/src/xml-c.c +++ b/src/xml-c.c @@ -28,6 +28,7 @@ #include #include +#include #include #include