summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-09-19 15:58:20 -0400
committerBen Gamari <ben@smart-cactus.org>2017-09-19 15:58:45 -0400
commit7c7914d02a7ff189aba2f4feca31366fb4ab2664 (patch)
treeed499d565d3e639eb7449ee498b442dc2158f0e8 /compiler
parentf63bc730c7ea42ca6882f8078eb86be8bf1cc6ad (diff)
downloadhaskell-7c7914d02a7ff189aba2f4feca31366fb4ab2664.tar.gz
Fix Windows build regression due to GhcPrelude change
Diffstat (limited to 'compiler')
-rw-r--r--compiler/main/SysTools/Terminal.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/main/SysTools/Terminal.hs b/compiler/main/SysTools/Terminal.hs
index cd33bfb397..b7f343a3a5 100644
--- a/compiler/main/SysTools/Terminal.hs
+++ b/compiler/main/SysTools/Terminal.hs
@@ -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,