$NetBSD: patch-examples_tiles-simple.h,v 1.1 2013/04/30 22:32:43 joerg Exp $ --- examples/tiles-simple.h.orig 2013-04-30 21:45:40.000000000 +0000 +++ examples/tiles-simple.h @@ -21,8 +21,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include +#include +#ifdef _LIBCPP_VERSION +#include +using std::shared_ptr; +#else #include +using std::tr1::shared_ptr; +#endif +#include #include #include "gtkmm-utils/tile.h" #include "gtkmm-utils/tile-view.h" @@ -44,7 +51,7 @@ protected: Gtk::VBox vbox_; Gtk::Util::TileView tile_view_; - std::list > tiles_; + std::list > tiles_; Gtk::CheckButton show_navigation_; // tpp = tiles per page