Changes for the new IO library, mainly base-package modules moving around
[ghc-hetmet.git] / rts / RtsStartup.c
index 2eae091..c21aac7 100644 (file)
@@ -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 <unistd.h>
 #endif
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#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();