aboutsummaryrefslogtreecommitdiffhomepage
path: root/System
diff options
context:
space:
mode:
Diffstat (limited to 'System')
-rw-r--r--System/Posix/Resource.hsc4
-rw-r--r--System/Posix/Temp.hsc2
2 files changed, 3 insertions, 3 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
diff --git a/System/Posix/Temp.hsc b/System/Posix/Temp.hsc
index f9ebc68..53eced4 100644
--- a/System/Posix/Temp.hsc
+++ b/System/Posix/Temp.hsc
@@ -61,6 +61,6 @@ foreign import ccall unsafe "mktemp"
c_mktemp :: CString -> IO CString
#endif
-foreign import ccall unsafe "HsBase.h __hscore_mkstemp"
+foreign import ccall unsafe "HsUnix.h __hscore_mkstemp"
c_mkstemp :: CString -> IO CInt