$NetBSD: patch-lib_engine_components_ldap_ldap-book.h,v 1.1 2013/10/15 14:46:07 joerg Exp $ --- lib/engine/components/ldap/ldap-book.h.orig 2013-10-15 12:53:34.000000000 +0000 +++ lib/engine/components/ldap/ldap-book.h @@ -40,7 +40,13 @@ #define __LDAP_BOOK_H__ #include +#if __cplusplus >= 201103L || defined(_LIBCPP_VERSION) +#include +using std::shared_ptr; +#else #include +using std::tr1::shared_ptr; +#endif #include #include @@ -88,11 +94,11 @@ namespace OPENLDAP public: Book (Ekiga::ServiceCore &_core, - std::tr1::shared_ptr _doc, + shared_ptr _doc, xmlNodePtr node); Book (Ekiga::ServiceCore &_core, - std::tr1::shared_ptr _doc, + shared_ptr _doc, OPENLDAP::BookInfo _bookinfo); ~Book (); @@ -135,7 +141,7 @@ namespace OPENLDAP Ekiga::Form &form); Ekiga::ServiceCore &core; - std::tr1::shared_ptr doc; + shared_ptr doc; xmlNodePtr node; xmlNodePtr name_node;