projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
916a1ca
)
Fix the Windows build
author
Ian Lynagh
<igloo@earth.li>
Sat, 21 Jul 2007 01:18:17 +0000
(
01:18
+0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 21 Jul 2007 01:18:17 +0000
(
01:18
+0000)
compat/Compat/Directory.hs
patch
|
blob
|
history
diff --git
a/compat/Compat/Directory.hs
b/compat/Compat/Directory.hs
index
4d7cb4b
..
983f083
100644
(file)
--- a/
compat/Compat/Directory.hs
+++ b/
compat/Compat/Directory.hs
@@
-32,6
+32,9
@@
import Foreign.Marshal.Alloc ( allocaBytes )
import System.IO (IOMode(..), openBinaryFile, hGetBuf, hPutBuf, hClose)
import System.IO.Error ( try )
import GHC.IOBase ( IOException(..) )
+#if defined(mingw32_HOST_OS)
+import GHC.IOBase ( IOErrorType(..) )
+#endif
#else
import System.IO ( try )
#endif