From 1f8596c23de907107ac4ef6374156de43b77ecb6 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 1 Mar 2006 14:09:31 +0000 Subject: [PATCH] fix compilation with older GHCs --- ghc/compiler/main/SysTools.lhs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/main/SysTools.lhs b/ghc/compiler/main/SysTools.lhs index 5c434d0..eee3e1a 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 ) -- 1.7.10.4