[project @ 2005-01-11 14:18:13 by ross]
authorross <unknown>
Tue, 11 Jan 2005 14:18:13 +0000 (14:18 +0000)
committerross <unknown>
Tue, 11 Jan 2005 14:18:13 +0000 (14:18 +0000)
get IOError stuff from System.IO.Error instead of System.IO

Foreign/C/Error.hs

index 9ee6499..9c99ddf 100644 (file)
@@ -119,7 +119,8 @@ import GHC.IOBase
 import GHC.Num
 import GHC.Base
 #else
-import System.IO               ( IOError, Handle, ioError )
+import System.IO               ( Handle )
+import System.IO.Error         ( IOError, ioError )
 import System.IO.Unsafe                ( unsafePerformIO )
 #endif