$NetBSD: patch-lib_gui_xwindow.h,v 1.1 2013/10/15 14:46:07 joerg Exp $ --- lib/gui/xwindow.h.orig 2013-10-15 12:51:15.000000000 +0000 +++ lib/gui/xwindow.h @@ -39,7 +39,14 @@ #include #include "config.h" +#include +#if __cplusplus >= 201103L || defined(_LIBCPP_VERSION) +#include +using std::shared_ptr; +#else #include +using std::tr1::shared_ptr; +#endif #include #include @@ -245,7 +252,7 @@ private: int _planes; PColourConverter* _colorConverter; - std::tr1::shared_ptr _frameBuffer; + shared_ptr _frameBuffer; #ifdef HAVE_SHM XShmSegmentInfo _XShmInfo;