aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Process.hsc
diff options
context:
space:
mode:
authorGravatar wolfgang <unknown>2002-10-08 08:03:02 +0000
committerGravatar wolfgang <unknown>2002-10-08 08:03:02 +0000
commit1af096d3e286498e531ecb0542bd26997ab5fe06 (patch)
treed1e9b3fc0081cc7dceddee091788f8ba0003451d /System/Posix/Process.hsc
parentd637529b092d9b81dd5518c11662e7971716f9f8 (diff)
[project @ 2002-10-08 08:03:02 by wolfgang]
Make the new Posix bindings compile on Mac OS X. Most notable, Mac OS X lacks *) lchown *) SIGPOLL I don't know of a replacement of either, so they are just left out when they are not detected by configure.
Diffstat (limited to 'System/Posix/Process.hsc')
-rw-r--r--System/Posix/Process.hsc4
1 files changed, 4 insertions, 0 deletions
diff --git a/System/Posix/Process.hsc b/System/Posix/Process.hsc
index a8145cd..e20830c 100644
--- a/System/Posix/Process.hsc
+++ b/System/Posix/Process.hsc
@@ -67,6 +67,10 @@ module System.Posix.Process (
#include <sys/times.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif