diff --git a/src/support/shared_ptr.h b/src/support/shared_ptr.h index d011597a39..bb613de563 100644 --- a/src/support/shared_ptr.h +++ b/src/support/shared_ptr.h @@ -20,6 +20,7 @@ #else #include +#include #define LYX_SHAREDPTR_NS boost #endif @@ -27,6 +28,7 @@ namespace lyx { using LYX_SHAREDPTR_NS::shared_ptr; + using LYX_SHAREDPTR_NS::make_shared; using LYX_SHAREDPTR_NS::const_pointer_cast; }