Build fixes for Boost >= 1.73
[dcpomatic.git] / src / lib / playlist.cc
index 6d125afa63ba93d592a7bd7f4580d9f1d6e9ea12..64c50f905ec0b2f35844d246ae203d0da3e137c4 100644 (file)
@@ -34,6 +34,7 @@
 #include "compose.hpp"
 #include <libcxml/cxml.h>
 #include <libxml++/libxml++.h>
+#include <boost/bind/placeholders.hpp>
 #include <boost/shared_ptr.hpp>
 #include <boost/foreach.hpp>
 #include <iostream>
@@ -51,6 +52,9 @@ using boost::optional;
 using boost::shared_ptr;
 using boost::weak_ptr;
 using boost::dynamic_pointer_cast;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 Playlist::Playlist ()
        : _sequence (true)