X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRtsStartup.c;h=c21aac767cd97a1b536f403028591554dfae31b6;hb=523c7698e24f32027605f7a82276508a40eb923a;hp=2eae0916bb9b332a3295cfb0197eb8b148904fd6;hpb=dd56e9ab4544e83d27532a8d9058140bfe81825c;p=ghc-hetmet.git diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c index 2eae091..c21aac7 100644 --- a/rts/RtsStartup.c +++ b/rts/RtsStartup.c @@ -35,6 +35,7 @@ #include "Hpc.h" #include "FileLock.h" #include "EventLog.h" +#include "Hash.h" #if defined(RTS_GTK_FRONTPANEL) #include "FrontPanel.h" @@ -62,6 +63,9 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_LOCALE_H +#include +#endif #if USE_PAPI #include "Papi.h" @@ -131,6 +135,8 @@ hs_init(int *argc, char **argv[]) return; } + setlocale(LC_CTYPE,""); + /* Initialise the stats department, phase 0 */ initStats0();