projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2003-05-27 16:57:09 by malcolm]
[ghc-base.git]
/
Foreign
/
C
/
Error.hs
diff --git
a/Foreign/C/Error.hs
b/Foreign/C/Error.hs
index
613dd1a
..
c6106e0
100644
(file)
--- a/
Foreign/C/Error.hs
+++ b/
Foreign/C/Error.hs
@@
-120,6
+120,10
@@
import System.IO.Unsafe ( unsafePerformIO )
{-# CBITS errno.c #-}
#endif
+#ifdef __NHC__
+import NHC.FFI ( CInt(..) )
+#endif
+
-- "errno" type
-- ------------