Commit 53bf3023 authored by Ross Paterson's avatar Ross Paterson
Browse files

fix imports for non-GHC

parent fdcc2e63
......@@ -27,10 +27,11 @@ import System.IO (Handle, openTempFile, openBinaryTempFile)
import Data.Bits ((.|.))
import System.Posix.Internals (c_open, c_close, o_CREAT, o_EXCL, o_RDWR,
import Foreign.C (CInt, withCString, getErrno, errnoToIOError)
import Foreign.C (CInt)
import GHC.Handle (fdToHandle)
import Distribution.Compat.Exception (onException)
import Foreign.C (withCString, getErrno, errnoToIOError)
#if __NHC__
import System.Posix.Types (CPid(..))
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