diff --git a/System/Posix/Files/Common.hsc b/System/Posix/Files/Common.hsc index 1f44f7d6f3e367fa202f78e57a95b9e42a72be62..feeb9153cd49a024b7ffe9de4cbb057307d2d46c 100644 --- a/System/Posix/Files/Common.hsc +++ b/System/Posix/Files/Common.hsc @@ -551,7 +551,7 @@ foreign import capi unsafe "sys/stat.h futimens" c_futimens :: CInt -> Ptr CTimeSpec -> IO CInt #endif -data CTimeVal = CTimeVal CLong CLong +data CTimeVal = CTimeVal (#type time_t) (#type suseconds_t) instance Storable CTimeVal where sizeOf _ = #size struct timeval