$NetBSD: patch-src_common_imageio__exr.hh,v 1.3 2013/12/04 13:02:08 drochner Exp $ stdc++ fixes from joerg --- src/common/imageio_exr.hh.orig 2013-06-24 18:35:28.000000000 +0000 +++ src/common/imageio_exr.hh @@ -21,7 +21,15 @@ #include "common/image.h" #include "common/mipmap_cache.h" +#include + +#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L +#include +using std::shared_ptr; +#else #include +using std::tr1::shared_ptr; +#endif #include #include @@ -56,7 +64,7 @@ public: } uint32_t size; - std::tr1::shared_ptr data; + shared_ptr data; };