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