1 diff --git a/library/grt/src/grt.h b/library/grt/src/grt.h
2 index 47bfd63..59e664b 100644
3 --- a/library/grt/src/grt.h
4 +++ b/library/grt/src/grt.h
7 #include <boost/function.hpp>
8 #include <libxml/xmlmemory.h>
9 +#include <libxml/tree.h>
10 #include "base/threading.h"
13 diff --git a/library/grt/src/unserializer.cpp b/library/grt/src/unserializer.cpp
14 index 6dda76d..a6f6a3c 100644
15 --- a/library/grt/src/unserializer.cpp
16 +++ b/library/grt/src/unserializer.cpp
17 @@ -401,7 +401,7 @@ ValueRef internal::Unserializer::unserialize_xmldata(const char *data, size_t si
18 xmlDocPtr doc = xmlReadMemory(data, (int)size, NULL, NULL, XML_PARSE_NOENT);
21 - xmlErrorPtr error = xmlGetLastError();
22 + const xmlError* error = xmlGetLastError();
25 throw std::runtime_error(base::strfmt("Could not parse XML data. Line %d, %s", error->line, error->message));