From 4bf53dbed1933ccc68c9e4e295382c4cdfc1c082 Mon Sep 17 00:00:00 2001
From: Ian Lynagh <igloo@earth.li>
Date: Fri, 21 Oct 2011 00:52:38 +0100
Subject: [PATCH] Follow change to FFI decls: Import constructors of newtypes

---
 System/Posix/DynamicLinker/Prim.hsc | 2 +-
 System/Posix/Env.hsc                | 2 +-
 System/Posix/Process.hsc            | 2 +-
 System/Posix/Signals/Exts.hsc       | 2 +-
 System/Posix/Terminal.hsc           | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/System/Posix/DynamicLinker/Prim.hsc b/System/Posix/DynamicLinker/Prim.hsc
index 2b11261..2e5409e 100644
--- a/System/Posix/DynamicLinker/Prim.hsc
+++ b/System/Posix/DynamicLinker/Prim.hsc
@@ -39,7 +39,7 @@ where
 
 import Data.Bits	( (.|.) )
 import Foreign.Ptr	( Ptr, FunPtr, nullPtr )
-import Foreign.C.Types	( CInt )
+import Foreign.C.Types
 import Foreign.C.String	( CString )
 
 -- RTLD_NEXT madness
diff --git a/System/Posix/Env.hsc b/System/Posix/Env.hsc
index 374d0a8..5f3cbd1 100644
--- a/System/Posix/Env.hsc
+++ b/System/Posix/Env.hsc
@@ -29,7 +29,7 @@ module System.Posix.Env (
 #include "HsUnix.h"
 
 import Foreign.C.Error	( throwErrnoIfMinus1_ )
-import Foreign.C.Types	( CInt )
+import Foreign.C.Types
 import Foreign.C.String
 import Foreign.Marshal.Array
 import Foreign.Ptr
diff --git a/System/Posix/Process.hsc b/System/Posix/Process.hsc
index 99c3962..57779ce 100644
--- a/System/Posix/Process.hsc
+++ b/System/Posix/Process.hsc
@@ -72,7 +72,7 @@ module System.Posix.Process (
 
 import Foreign.C.Error
 import Foreign.C.String
-import Foreign.C.Types ( CInt, CClock )
+import Foreign.C.Types
 import Foreign.Marshal.Alloc ( alloca, allocaBytes )
 import Foreign.Marshal.Array ( withArray0 )
 import Foreign.Marshal.Utils ( withMany )
diff --git a/System/Posix/Signals/Exts.hsc b/System/Posix/Signals/Exts.hsc
index 4b466f1..5dece59 100644
--- a/System/Posix/Signals/Exts.hsc
+++ b/System/Posix/Signals/Exts.hsc
@@ -30,7 +30,7 @@ module System.Posix.Signals.Exts (
 
   ) where
 
-import Foreign.C ( CInt )
+import Foreign.C
 import System.Posix.Signals
 
 #ifdef __HUGS__
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 )
-- 
GitLab