summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
Diffstat (limited to 'rts')
-rw-r--r--rts/RtsSymbols.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 8c062bbd8d..b9b0d2c204 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -6,6 +6,7 @@
*
* ---------------------------------------------------------------------------*/
+#include "ghcplatform.h"
#include "RtsSymbols.h"
#include "Rts.h"
@@ -17,6 +18,13 @@
#include "posix/Signals.h"
#endif
+#if defined(mingw32_HOST_OS)
+#include <sys/stat.h>
+#include <io.h>
+#include <windows.h>
+#include <shfolder.h> /* SHGetFolderPathW */
+#endif
+
/* -----------------------------------------------------------------------------
* Symbols to be inserted into the RTS symbol table.
*/