Fix Windows build regression due to GhcPrelude change
authorBen Gamari <ben@smart-cactus.org>
Tue, 19 Sep 2017 19:58:20 +0000 (15:58 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 19 Sep 2017 19:58:45 +0000 (15:58 -0400)
compiler/main/SysTools/Terminal.hs

index cd33bfb..b7f343a 100644 (file)
@@ -1,9 +1,10 @@
 {-# LANGUAGE CPP #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 module SysTools.Terminal (stderrSupportsAnsiColors) where
-#if defined MIN_VERSION_terminfo
+
 import GhcPrelude
 
+#if defined MIN_VERSION_terminfo
 import Control.Exception (catch)
 import Data.Maybe (fromMaybe)
 import System.Console.Terminfo (SetupTermError, Terminal, getCapability,