1 diff --git src/libcmis/atom-object.cxx src/libcmis/atom-object.cxx
2 index ce21384..eef8102 100644
3 --- a/src/libcmis/atom-object.cxx
4 +++ b/src/libcmis/atom-object.cxx
9 +#ifndef BOOST_DATE_TIME_NO_LIB
10 +#define BOOST_DATE_TIME_NO_LIB
12 #include <boost/date_time/posix_time/posix_time.hpp>
14 #include "atom-document.hxx"
15 diff --git src/libcmis/object.hxx src/libcmis/object.hxx
16 index 449bb22..c320f06 100644
17 --- a/src/libcmis/object.hxx
18 +++ b/src/libcmis/object.hxx
23 +#ifndef BOOST_DATE_TIME_NO_LIB
24 +#define BOOST_DATE_TIME_NO_LIB
26 #include <boost/date_time.hpp>
27 #include <boost/shared_ptr.hpp>
28 #include <libxml/tree.h>
29 diff --git src/libcmis/property-type.hxx src/libcmis/property-type.hxx
30 index 1a8bee9..6ac946c 100644
31 --- a/src/libcmis/property-type.hxx
32 +++ b/src/libcmis/property-type.hxx
34 #ifndef _PROPERTY_TYPE_HXX_
35 #define _PROPERTY_TYPE_HXX_
37 +#ifndef BOOST_DATE_TIME_NO_LIB
38 +#define BOOST_DATE_TIME_NO_LIB
40 #include <boost/date_time.hpp>
41 #include <libxml/tree.h>
43 diff --git src/libcmis/property.hxx src/libcmis/property.hxx
44 index f9be04a..2977fb3 100644
45 --- a/src/libcmis/property.hxx
46 +++ b/src/libcmis/property.hxx
48 #include <libxml/tree.h>
49 #include <libxml/xmlwriter.h>
51 +#ifndef BOOST_DATE_TIME_NO_LIB
52 +#define BOOST_DATE_TIME_NO_LIB
54 #include <boost/date_time.hpp>
55 #include <boost/shared_ptr.hpp>
57 diff --git src/libcmis/ws-session.cxx src/libcmis/ws-session.cxx
58 index b906a5a..bf50644 100644
59 --- a/src/libcmis/ws-session.cxx
60 +++ b/src/libcmis/ws-session.cxx
65 +#ifndef BOOST_DATE_TIME_NO_LIB
66 +#define BOOST_DATE_TIME_NO_LIB
68 #include <boost/date_time.hpp>
69 #include <libxml/parser.h>
70 #include <libxml/tree.h>
71 diff --git src/libcmis/xml-utils.hxx src/libcmis/xml-utils.hxx
72 index 52853e2..2f80b91 100644
73 --- a/src/libcmis/xml-utils.hxx
74 +++ b/src/libcmis/xml-utils.hxx
79 +#ifndef BOOST_DATE_TIME_NO_LIB
80 +#define BOOST_DATE_TIME_NO_LIB
82 #include <boost/date_time.hpp>
83 #include <libxml/tree.h>
84 #include <libxml/xpathInternals.h>