summaryrefslogtreecommitdiff
path: root/src/kmk/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmk/job.c')
-rw-r--r--src/kmk/job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kmk/job.c b/src/kmk/job.c
index a2c55ff..2cb7468 100644
--- a/src/kmk/job.c
+++ b/src/kmk/job.c
@@ -591,7 +591,7 @@ reap_children (int block, int err)
pid = WAIT_NOHANG (&status);
else
#endif
- pid = wait (&status);
+ EINTRLOOP(pid, wait (&status));
#endif /* !VMS */
}
else
@@ -2053,7 +2053,7 @@ job_next_command (struct child *child)
static int
load_too_high (void)
{
-#if defined(__MSDOS__) || defined(VMS) || defined(_AMIGA) || defined(__riscos__)
+#if defined(__MSDOS__) || defined(VMS) || defined(_AMIGA) || defined(__riscos__) || defined(__HAIKU__)
return 1;
#else
static double last_sec;