diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-03-01 14:09:31 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-03-01 14:09:31 +0000 |
commit | 1f8596c23de907107ac4ef6374156de43b77ecb6 (patch) | |
tree | af350862d716eeb32c56b14b1520262468247164 /ghc/compiler | |
parent | d35356e840b98f614212fcfedb8cf46ad89b4861 (diff) | |
download | haskell-1f8596c23de907107ac4ef6374156de43b77ecb6.tar.gz |
fix compilation with older GHCs
Diffstat (limited to 'ghc/compiler')
-rw-r--r-- | ghc/compiler/main/SysTools.lhs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc/compiler/main/SysTools.lhs b/ghc/compiler/main/SysTools.lhs index 5c434d0db3..eee3e1a383 100644 --- a/ghc/compiler/main/SysTools.lhs +++ b/ghc/compiler/main/SysTools.lhs @@ -86,6 +86,8 @@ import Foreign import CString ( CString, peekCString ) #endif +import Text.Regex + #if __GLASGOW_HASKELL__ < 603 -- rawSystem comes from libghccompat.a in stage1 import Compat.RawSystem ( rawSystem ) @@ -95,7 +97,6 @@ import System.IO.Error ( ioeGetErrorType ) import System.Process ( runInteractiveProcess, getProcessExitCode ) import System.IO ( hSetBuffering, hGetLine, BufferMode(..) ) import Control.Concurrent( forkIO, newChan, readChan, writeChan ) -import Text.Regex import Data.Char ( isSpace ) import FastString ( mkFastString ) import SrcLoc ( SrcLoc, mkSrcLoc, noSrcSpan, mkSrcSpan ) |