1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

fix bug #66816 when validating. don't use sys/time.h if configure did not

* valid.c: fix bug #66816 when validating.
* xmllint.c: don't use sys/time.h if configure did not found it
Daniel
This commit is contained in:
Daniel Veillard
2001-12-13 08:48:14 +00:00
parent 3fc555e520
commit ed472f34d2
3 changed files with 8 additions and 0 deletions

View File

@ -3938,6 +3938,7 @@ xmlValidateElementContent(xmlValidCtxtPtr ctxt, xmlNodePtr child,
tmp->name = cur->name;
tmp->ns = cur->ns;
tmp->next = NULL;
tmp->content = NULL;
if (repl == NULL)
repl = last = tmp;
else {