summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-20 06:14:17 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-20 06:14:17 +0300
commit24ec93205e7ce9ebecaf9dc9aed8cd2b1491adf5 (patch)
treeddbd2fb0580c3ce029c3137c8cfc4ef401770911
parent8609328523e0a10e500333e0996e8d7be3a115de (diff)
downloadplus-24ec93205e7ce9ebecaf9dc9aed8cd2b1491adf5.tar.gz
plus-24ec93205e7ce9ebecaf9dc9aed8cd2b1491adf5.tar.bz2
plus-24ec93205e7ce9ebecaf9dc9aed8cd2b1491adf5.tar.xz
plus-24ec93205e7ce9ebecaf9dc9aed8cd2b1491adf5.zip
Remove extra include.
-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"