091bb20796
checking if they're defined is wrong as -1 is a valid value to indicate the feature is not supported. No package bumps as the code sections in question are not being built at the moment. from Brad
13 lines
433 B
Plaintext
13 lines
433 B
Plaintext
$OpenBSD: patch-encodedv_dvconnect_c,v 1.3 2012/03/30 06:09:54 ajacoutot Exp $
|
|
--- encodedv/dvconnect.c.orig Sat Mar 24 10:10:08 2012
|
|
+++ encodedv/dvconnect.c Sat Mar 24 10:13:34 2012
|
|
@@ -857,7 +857,7 @@ int send_raw(const char*const* filenames, int channel,
|
|
|
|
int rt_raisepri (int pri)
|
|
{
|
|
-#ifdef _SC_PRIORITY_SCHEDULING
|
|
+#if defined(_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING > 0)
|
|
struct sched_param scp;
|
|
|
|
/*
|