Commit 22b39e40 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix the build with GHC 6.2.2

parent 4287edeb
...@@ -51,7 +51,6 @@ import Data.IORef ...@@ -51,7 +51,6 @@ import Data.IORef
import Data.Int import Data.Int
import Control.Monad import Control.Monad
import System.Exit import System.Exit
import System.Cmd
import System.Environment import System.Environment
import System.IO import System.IO
import SYSTEM_IO_ERROR as IO import SYSTEM_IO_ERROR as IO
...@@ -82,9 +81,11 @@ import Text.Regex ...@@ -82,9 +81,11 @@ import Text.Regex
#if __GLASGOW_HASKELL__ < 603 #if __GLASGOW_HASKELL__ < 603
-- rawSystem comes from libghccompat.a in stage1 -- rawSystem comes from libghccompat.a in stage1
import Compat.RawSystem ( rawSystem ) import Compat.RawSystem ( rawSystem )
import System.Cmd ( system )
import GHC.IOBase ( IOErrorType(..) ) import GHC.IOBase ( IOErrorType(..) )
#else #else
import System.Cmd ( rawSystem, system )
import System.Process ( runInteractiveProcess, getProcessExitCode ) import System.Process ( runInteractiveProcess, getProcessExitCode )
import Control.Concurrent( forkIO, newChan, readChan, writeChan ) import Control.Concurrent( forkIO, newChan, readChan, writeChan )
import Data.Char ( isSpace ) import Data.Char ( isSpace )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment