[vlc-devel] [PATCH 06/41] Do not include 'sched.h' on OS/2.
KO Myung-Hun
komh78 at gmail.com
Tue Oct 11 12:45:53 CEST 2011
Rémi Denis-Courmont wrote:
> Le lundi 10 octobre 2011 18:06:46 KO Myung-Hun, vous avez écrit :
>> 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
>
> Yes.
>
I attach a new patch.
--
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0006-Do-not-include-sched.h-on-OS-2.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111011/83b397e8/attachment.ksh>
More information about the vlc-devel
mailing list