diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 7f2c08e373..5202dabef7 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -50,6 +50,8 @@ #ifdef __WIN32__ #include "wx/msw/private.h" + // Some compilers' winnls.h header doesn't declare this function: + extern "C" WINBASEAPI LANGID WINAPI SetThreadUILanguage(LANGID LangId); #endif #include "wx/file.h"