diff options
Diffstat (limited to 'System/Posix/Resource.hsc')
-rw-r--r-- | System/Posix/Resource.hsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/System/Posix/Resource.hsc b/System/Posix/Resource.hsc index 067e5df..ec3c660 100644 --- a/System/Posix/Resource.hsc +++ b/System/Posix/Resource.hsc @@ -59,10 +59,10 @@ data ResourceLimit type RLimit = () -foreign import ccall unsafe "HsBase.h __hscore_getrlimit" +foreign import ccall unsafe "HsUnix.h __hscore_getrlimit" c_getrlimit :: CInt -> Ptr RLimit -> IO CInt -foreign import ccall unsafe "HsBase.h __hscore_setrlimit" +foreign import ccall unsafe "HsUnix.h __hscore_setrlimit" c_setrlimit :: CInt -> Ptr RLimit -> IO CInt getResourceLimit :: Resource -> IO ResourceLimits |