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-07-16 10:46:29 by panne]
[ghc-base.git]
/
Foreign
/
Marshal
/
Utils.hs
diff --git
a/Foreign/Marshal/Utils.hs
b/Foreign/Marshal/Utils.hs
index
f4a3f73
..
8f11e56
100644
(file)
--- a/
Foreign/Marshal/Utils.hs
+++ b/
Foreign/Marshal/Utils.hs
@@
-53,7
+53,7
@@
module Foreign.Marshal.Utils (
import Data.Maybe
import Foreign.Ptr ( Ptr, nullPtr )
import Foreign.Storable ( Storable(poke) )
import Data.Maybe
import Foreign.Ptr ( Ptr, nullPtr )
import Foreign.Storable ( Storable(poke) )
-import Foreign.C.TypesISO ( CSize )
+import Foreign.C.Types ( CSize )
import Foreign.Marshal.Alloc ( malloc, alloca )
#ifdef __GLASGOW_HASKELL__
import Foreign.Marshal.Alloc ( malloc, alloca )
#ifdef __GLASGOW_HASKELL__
@@
-63,6
+63,10
@@
import GHC.Num
import GHC.Base
#endif
import GHC.Base
#endif
+#ifdef __NHC__
+import Foreign.C.Types ( CInt(..) )
+#endif
+
-- combined allocation and marshalling
-- -----------------------------------
-- combined allocation and marshalling
-- -----------------------------------