diff --git a/include/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp b/include/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp index e31f19d..aaf7122 100644 --- a/include/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp +++ b/include/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp @@ -15,12 +15,15 @@ #include #include -#include #ifdef BOOST_HAS_PRAGMA_ONCE # pragma once #endif +namespace boost { + template class shared_ptr; +} + namespace boost { namespace typeindex { /// \brief Creates a new instance of std::shared_ptr whose stored pointer is obtained from u's