summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unittests/utils/dumplibs.cc3
-rw-r--r--src/utils/dumplibs.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/unittests/utils/dumplibs.cc b/src/unittests/utils/dumplibs.cc
index 5273f0b5e..0c2e5f091 100644
--- a/src/unittests/utils/dumplibs.cc
+++ b/src/unittests/utils/dumplibs.cc
@@ -39,8 +39,7 @@ PRAGMA48(GCC diagnostic pop)
#include <zlib.h>
#ifdef ENABLE_LIBXML
-#include <libxml/threads.h>
-#include <libxml/xmlversion.h>
+#include <libxml/globals.h>
#endif // ENABLE_LIBXML
#include "debug.h"
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index 7132dd729..d41c2919d 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -45,8 +45,7 @@ PRAGMA48(GCC diagnostic pop)
#include <curl/curl.h>
#ifdef ENABLE_LIBXML
-#include <libxml/threads.h>
-#include <libxml/xmlversion.h>
+#include <libxml/globals.h>
#endif // ENABLE_LIBXML
#include "debug.h"