[vlc-devel] [PATCH 06/41] Do not include 'sched.h' on OS/2.
KO Myung-Hun
komh78 at gmail.com
Mon Oct 10 17:06:46 CEST 2011
Hi/2.
Rémi Denis-Courmont wrote:
> On Mon, 10 Oct 2011 20:43:45 +0900, KO Myung-Hun <komh at chollian.net>
> wrote:
>> There is no 'sched.h' on OS/2.
>> ---
>> bin/rootwrap.c | 2 ++
>> 1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/bin/rootwrap.c b/bin/rootwrap.c
>> index 1527406..486a63b 100644
>> --- a/bin/rootwrap.c
>> +++ b/bin/rootwrap.c
>> @@ -34,7 +34,9 @@
>> #include <sys/socket.h>
>> #include <sys/uio.h>
>> #include <sys/resource.h> /* getrlimit() */
>> +#ifndef __OS2__
>> #include <sched.h>
>> +#endif
>
> AFAICT, you might as well check for RLIMIT_RTPRIO.
>
Do you mean the following ?
+#ifdef RLIMIT_RTPRIO
#include <sched.h>
+#endif
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.0.14
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1GHz with 512 MB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
More information about the vlc-devel
mailing list