$NetBSD: patch-aa,v 1.2 2001/10/13 08:30:25 rh Exp $ --- gtt/app.c.orig Wed Sep 26 05:12:19 2001 +++ gtt/app.c @@ -19,7 +19,11 @@ #include #include +#ifdef HAVE_SCHED_H #include +#else +#include +#endif #include #include #include @@ -181,7 +185,11 @@ * routine. So we try to ensure in-order execution by trying to let * the child process at least start running. And we can do this by * yielding our time-slice ... */ +#ifdef HAVE_SCHED_H sched_yield(); +#else + sleep(1); +#endif }