From: Peter Kümmel Date: Thu, 22 Apr 2010 14:40:57 +0000 (+0000) Subject: build with GCC X-Git-Tag: 2.0.0~3365 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4654a8bf96b144b7d89b595abdbdbf4c8f082965;p=lyx.git build with GCC git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34263 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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