diff --git a/include/boost/functional/detail/container_fwd.hpp b/include/boost/functional/detail/container_fwd.hpp index fb84b01..dca717e 100644 --- a/include/boost/functional/detail/container_fwd.hpp +++ b/include/boost/functional/detail/container_fwd.hpp @@ -8,6 +8,7 @@ #define BOOST_DETAIL_CONTAINER_FWD_HPP #include +#include #include #if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && \ @@ -35,6 +36,12 @@ namespace std template class basic_string; +#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) + template class string_char_traits; +#else + template class char_traits; +#endif + #if !defined(BOOST_CONTAINER_FWD_BAD_DEQUE) template class deque; #endif