[vlc-devel] [PATCH 06/41] Do not include 'sched.h' on OS/2.
Rémi Denis-Courmont
remi at remlab.net
Mon Oct 10 17:19:50 CEST 2011
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.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list