$NetBSD: patch-src_support_strfwd.h,v 1.2 2015/01/10 18:13:22 rumko Exp $ --- src/support/strfwd.h.orig 2014-11-15 18:11:26.000000000 +0000 +++ src/support/strfwd.h @@ -41,28 +41,8 @@ namespace lyx { typedef boost::uint32_t #include #else -namespace std { - -template class allocator; - -template struct char_traits; -template<> struct char_traits; -#ifdef USE_WCHAR_T -template<> struct char_traits; -#endif - -template class basic_string; -typedef basic_string, allocator > string; - -template class basic_istream; -template class basic_ostream; -template class basic_ostringstream; - -typedef basic_istream > istream; -typedef basic_ostream > ostream; -typedef basic_ostringstream, allocator > ostringstream; - -} // namepace std +#include +#include #endif