$NetBSD: patch-ab,v 1.1 2010/04/30 11:18:22 asau Exp $

--- client/app_start.cpp.orig	2010-04-30 16:58:31.000000000 +0400
+++ client/app_start.cpp	2010-04-30 14:52:40.000000000 +0400
@@ -872,6 +872,7 @@
             }
 #endif
 #ifdef HAVE_SCHED_SETSCHEDULER
+#ifdef SCHED_BATCH
             if (!high_priority) {
                 struct sched_param p;
                 p.sched_priority = 0;
@@ -880,6 +881,7 @@
                 }
             }
 #endif
+#endif
         }
         sprintf(buf, "../../%s", exec_path );
         if (g_use_sandbox) {
