diff --git a/source/code/scxcorelib/util/scxstream.cpp b/source/code/scxcorelib/util/scxstream.cpp index 51a3e11..c8588be 100644 --- a/source/code/scxcorelib/util/scxstream.cpp +++ b/source/code/scxcorelib/util/scxstream.cpp @@ -27,6 +27,7 @@ #if defined(sun) +#include #include #include #include @@ -655,7 +656,7 @@ namespace SCXCoreLib { } static const unsigned int BUFSIZE = 10; - + SCXCoreLib::SCXThreadLock lock(SCXCoreLib::ThreadLockHandleGet(L"IconvLock")); iconv_t ic = SCXCoreLib::SCXLocaleContext::GetToUTF8iconv(); if (ic == NULL)