$NetBSD: patch-ab,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $ --- src/xitk/xine-toolkit/label.c.orig Tue Mar 4 00:43:46 2003 +++ src/xitk/xine-toolkit/label.c @@ -294,7 +294,7 @@ static void label_setup_label(xitk_widge if(label_len > private_data->length) { pthread_attr_t pth_attrs; -#if ! defined (__OpenBSD__) +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING struct sched_param pth_params; #endif @@ -303,7 +303,7 @@ static void label_setup_label(xitk_widge pthread_attr_init(&pth_attrs); /* this won't work on linux, freebsd 5.0 */ -#if ! defined (__OpenBSD__) +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING pthread_attr_getschedparam(&pth_attrs, &pth_params); pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER); pthread_attr_setschedparam(&pth_attrs, &pth_params);