Closed eli-schwartz closed 10 months ago
The xmlParserVersion function was indirectly included via a maze of includes:
tree.h -> xmlmemory.h -> globals.h
the final header containing the definition of this function, but after an upstream refactor this is canonically defined in parser.h instead.
The latter header includes globals.h on old versions anyway.
stdlib.h was also required, but only indirectly included via libxml2's own includes.
Fixes: https://bugs.gentoo.org/917554
The xmlParserVersion function was indirectly included via a maze of includes:
tree.h -> xmlmemory.h -> globals.h
the final header containing the definition of this function, but after an upstream refactor this is canonically defined in parser.h instead.
The latter header includes globals.h on old versions anyway.
stdlib.h was also required, but only indirectly included via libxml2's own includes.
Fixes: https://bugs.gentoo.org/917554