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
This commit is contained in:
Vadim Zeitlin
2011-10-27 21:10:40 +00:00
parent 4cbbbd069e
commit 7451fe7b69

View File

@@ -21,9 +21,7 @@
#include "wx/numformatter.h"
#include "wx/intl.h"
#if !wxUSE_STD_STRING
#include <locale.h> // for setlocale and LC_ALL
#endif
#include <locale.h> // for setlocale and LC_ALL
// ----------------------------------------------------------------------------
// local helpers