Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
1f8596c2
Commit
1f8596c2
authored
Mar 01, 2006
by
Simon Marlow
Browse files
fix compilation with older GHCs
parent
d35356e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/SysTools.lhs
View file @
1f8596c2
...
...
@@ -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 )
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment