summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/codeGen/StgCmmCon.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmCon.hs b/compiler/codeGen/StgCmmCon.hs
index 3226f0c111..cebd743e94 100644
--- a/compiler/codeGen/StgCmmCon.hs
+++ b/compiler/codeGen/StgCmmCon.hs
@@ -39,9 +39,13 @@ import Literal
import PrelInfo
import Outputable
import Util ( lengthIs )
-import StaticFlags ( opt_PIC )
+
import Data.Char
+#if defined(mingw32_TARGET_OS)
+import StaticFlags ( opt_PIC )
+#endif
+
---------------------------------------------------------------
-- Top-level constructors