diff --git a/src/graphics/Previews.cpp b/src/graphics/Previews.cpp index dc1c167fa3..0b1e481078 100644 --- a/src/graphics/Previews.cpp +++ b/src/graphics/Previews.cpp @@ -18,6 +18,7 @@ #include "LyXRC.h" #include "insets/Inset.h" +#include "support/shared_ptr.h" using namespace std; diff --git a/src/support/bind.h b/src/support/bind.h index 2c636dce6d..f00d1629b4 100644 --- a/src/support/bind.h +++ b/src/support/bind.h @@ -22,10 +22,8 @@ using std::tr1::ref; #else -#include "support/bind.h" +#include "boost/bind.hpp" using boost::bind; -using boost::_1; -using boost::_2; using boost::ref; #endif