diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-09-19 15:58:20 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-09-19 15:58:45 -0400 |
commit | 7c7914d02a7ff189aba2f4feca31366fb4ab2664 (patch) | |
tree | ed499d565d3e639eb7449ee498b442dc2158f0e8 /compiler | |
parent | f63bc730c7ea42ca6882f8078eb86be8bf1cc6ad (diff) | |
download | haskell-7c7914d02a7ff189aba2f4feca31366fb4ab2664.tar.gz |
Fix Windows build regression due to GhcPrelude change
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/main/SysTools/Terminal.hs | 3 |
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, |