$NetBSD: patch-ah,v 1.6 2003/10/05 10:56:37 xtraeme Exp $ --- libxmms/util.c.orig Sun Oct 5 12:46:32 2003 +++ libxmms/util.c Sun Oct 5 12:47:21 2003 @@ -11,6 +11,7 @@ #endif #ifdef __FreeBSD__ +#include #include #endif @@ -72,7 +73,7 @@ gboolean xmms_check_realtime_priority(void) { -#ifdef HAVE_SCHED_SETSCHEDULER +#if !defined(__NetBSD__) && defined(HAVE_SCHED_SETSCHEDULER) #ifdef __FreeBSD__ /* * Check if priority scheduling is enabled in the kernel