diff options
author | Ian Lynagh <igloo@earth.li> | 2011-10-21 00:52:38 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-10-21 00:52:38 +0100 |
commit | 4bf53dbed1933ccc68c9e4e295382c4cdfc1c082 (patch) | |
tree | 20c25990b5e124a24b213251a794af853e715823 /System/Posix/Terminal.hsc | |
parent | cd4fb516eff8e407cce2253dada61100eea500c1 (diff) |
Follow change to FFI decls: Import constructors of newtypes
Diffstat (limited to 'System/Posix/Terminal.hsc')
-rw-r--r-- | System/Posix/Terminal.hsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Terminal.hsc b/System/Posix/Terminal.hsc index 3685589..c861a3f 100644 --- a/System/Posix/Terminal.hsc +++ b/System/Posix/Terminal.hsc @@ -81,7 +81,7 @@ import Foreign.C.Error ( errnoToIOError, throwErrnoIfMinus1, import Foreign.C.Error ( eNOSYS ) #endif import Foreign.C.String ( CString, peekCString, withCString ) -import Foreign.C.Types ( CInt ) +import Foreign.C.Types import Foreign.ForeignPtr ( ForeignPtr, withForeignPtr, mallocForeignPtrBytes ) import Foreign.Marshal.Alloc ( alloca ) import Foreign.Marshal.Utils ( copyBytes ) |