Skip to content

Commit

Permalink
libxml: include parser.h
Browse files Browse the repository at this point in the history
libxml2 removed the inclusion of global.h in a few of its include files,
so we can no longer rely on transitive includes.

This applies to functions like xmlParseFile.

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
  • Loading branch information
1480c1 committed Oct 8, 2023
1 parent f5a31de commit 9ba0006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xmlParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

#include <cstring>
#include <libxml/tree.h>
#include <libxml/parser.h>

XMLResults::XMLResults()
: line(0),
Expand Down

0 comments on commit 9ba0006

Please sign in to comment.