$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 <errno.h>
 #include <gnome.h>
+#ifdef HAVE_SCHED_H
 #include <sched.h>
+#else
+#include <unistd.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -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
 }
 
 
