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

KO Myung-Hun komh at chollian.net
Mon Oct 10 13:43:45 CEST 2011


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
 #include <errno.h>
 #include <netinet/in.h>
 
-- 
1.7.3.2



More information about the vlc-devel mailing list