$NetBSD: patch-src_support_strfwd.h,v 1.3 2019/02/07 10:42:48 markd Exp $ --- src/support/strfwd.h.orig 2018-12-09 20:04:52.000000000 +0000 +++ src/support/strfwd.h @@ -42,28 +42,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; - -} // namespace std +#include +#include #endif