int status;
if (p->alive
- && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
+#ifndef WCONTINUED
+ && child_status_changed (p->pid, &status, WUNTRACED))
+#else
+ && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
+#endif
{
/* Change the status of the process that was found. */
p->tick = ++process_tick;