summaryrefslogtreecommitdiff
path: root/libraries/base/Foreign/Marshal/Alloc.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-10-21 00:49:09 +0100
committerIan Lynagh <igloo@earth.li>2011-10-21 00:49:09 +0100
commitf2ef82ed10e0befb9ed96b65b7ac2e51d09df5e1 (patch)
tree50d47956678df0ffb008a8f5800da36119ff9e5e /libraries/base/Foreign/Marshal/Alloc.hs
parentffe2f8d60ea3aea51c53608931ea9f3343c3337a (diff)
downloadhaskell-f2ef82ed10e0befb9ed96b65b7ac2e51d09df5e1.tar.gz
Export constructors for Foreign.C.Types and System.Posix.Types newtypes
Part of trac #5529. We also now import the constructors in various modules that use them in FFI decls.
Diffstat (limited to 'libraries/base/Foreign/Marshal/Alloc.hs')
-rw-r--r--libraries/base/Foreign/Marshal/Alloc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Foreign/Marshal/Alloc.hs b/libraries/base/Foreign/Marshal/Alloc.hs
index 74db1646c5..e404580882 100644
--- a/libraries/base/Foreign/Marshal/Alloc.hs
+++ b/libraries/base/Foreign/Marshal/Alloc.hs
@@ -62,7 +62,7 @@ module Foreign.Marshal.Alloc (
) where
import Data.Maybe
-import Foreign.C.Types ( CSize )
+import Foreign.C.Types ( CSize(..) )
import Foreign.Storable ( Storable(sizeOf,alignment) )
#ifndef __GLASGOW_HASKELL__