Ticket #3048: patch-cdrecord-cdrecord.c

File patch-cdrecord-cdrecord.c, 486 bytes (added by pw@…, 19 years ago)

Patch to build correctly

Line 
1--- cdrecord/cdrecord.c 2005-02-06 07:55:22.000000000 +1100
2+++ ../dvdrtools-0.2.1-patched/cdrecord/cdrecord.c      2005-09-15 18:30:08.000000000 +1000
3@@ -2935,7 +2935,7 @@
4 
5 #else  /* HAVE_SYS_PRIOCNTL_H */
6 
7-#if defined(_POSIX_PRIORITY_SCHEDULING)
8+#if defined _POSIX_PRIORITY_SCHEDULING && (_POSIX_PRIORITY_SCHEDULING -0 > 0)
9 /*
10  * XXX Ugly but needed because of a typo in /usr/iclude/sched.h on Linux.
11  * XXX This should be removed as soon as we are sure that Linux-2.0.29 is gone.