[vlc-devel] [PATCH 06/41] Do not include 'sched.h' on OS/2.

Rémi Denis-Courmont remi at remlab.net
Mon Oct 10 14:55:17 CEST 2011


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.

>  #include <errno.h>
>  #include <netinet/in.h>

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list