Skip to content

Commit 1ec36a4

Browse files
committed
Add include for boost versions >=1.53
1 parent d614996 commit 1ec36a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/messages/data.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
#include <boost/enable_shared_from_this.hpp>
3737
#include <boost/function.hpp>
3838
#include <boost/intrusive_ptr.hpp>
39+
#include <boost/version.hpp>
40+
#if BOOST_VERSION >= 105300 // 1.53.00
41+
#include <boost/thread/lock_guard.hpp>
42+
#endif
3943
#include <boost/thread/mutex.hpp>
4044
#include <boost/thread/recursive_mutex.hpp>
4145
#include <boost/utility.hpp>

0 commit comments

Comments
 (0)