From: Vadim Zeitlin Date: Thu, 27 Oct 2011 21:10:40 +0000 (+0000) Subject: Always include locale.h to get LC_ALL declaration. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7451fe7b69ad7f1eca88bee822c3d016bd8bc35a Always include locale.h to get LC_ALL declaration. For some reason locale.h was only included in !wxUSE_STD_STRING case but we actually always need it as we use LC_ALL in this file and at least in Sun CC build it wasn't included from anywhere else so include it from here to fix the build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/numformatter.cpp b/src/common/numformatter.cpp index 7b110abc18..eb4583b520 100644 --- a/src/common/numformatter.cpp +++ b/src/common/numformatter.cpp @@ -21,9 +21,7 @@ #include "wx/numformatter.h" #include "wx/intl.h" -#if !wxUSE_STD_STRING - #include // for setlocale and LC_ALL -#endif +#include // for setlocale and LC_ALL // ---------------------------------------------------------------------------- // local helpers