$OpenBSD: patch-src_xitk_panel_c,v 1.1.1.1 2006/03/24 22:46:37 jakemsr Exp $ --- src/xitk/panel.c.orig Sat Jul 23 19:40:37 2005 +++ src/xitk/panel.c Sat Dec 24 21:41:58 2005 @@ -1564,7 +1564,9 @@ void panel_init (void) { /* this won't work on linux, freebsd 5.0 */ #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