aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Resource.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'System/Posix/Resource.hsc')
-rw-r--r--System/Posix/Resource.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Resource.hsc b/System/Posix/Resource.hsc
index 4c5ca48..280c25f 100644
--- a/System/Posix/Resource.hsc
+++ b/System/Posix/Resource.hsc
@@ -55,7 +55,7 @@ data ResourceLimit
| ResourceLimit Integer
deriving Eq
-type RLimit = ()
+data {-# CTYPE "struct rlimit" #-} RLimit
foreign import ccall unsafe "HsUnix.h __hscore_getrlimit"
c_getrlimit :: CInt -> Ptr RLimit -> IO CInt