$OpenBSD: patch-src_xitk_xine-toolkit_label_c,v 1.2 2007/05/22 08:11:08 steven Exp $ --- src/xitk/xine-toolkit/label.c.orig Mon May 22 19:53:26 2006 +++ src/xitk/xine-toolkit/label.c Wed May 16 17:38:59 2007 @@ -335,7 +335,9 @@ static void label_setup_label(xitk_widget_t *w, char * #ifdef _POSIX_THREAD_PRIORITY_SCHEDULING pthread_attr_getschedparam(&pth_attrs, &pth_params); +#ifndef __OpenBSD__ pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER); +#endif pthread_attr_setschedparam(&pth_attrs, &pth_params); #endif