]> sourceware.org Git - newlib-cygwin.git/commitdiff
Include <sched.h> in <pthread.h>
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Fri, 30 Oct 2015 14:23:20 +0000 (15:23 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 30 Oct 2015 19:28:00 +0000 (20:28 +0100)
This is mandated by POSIX.

2015-10-30  Sebastian Huber  <sebastian.huber@embedded-brains.de>

libc/include/pthread.h: Include <sched.h> instead of
<sys/sched.h>.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
newlib/libc/include/pthread.h

index db1f9c1ca3c5238f4c97a09565e143149315d8e9..907970fdf9affb0e6de0971bf8d5fed7c6e4447d 100644 (file)
@@ -31,7 +31,7 @@ extern "C" {
 
 #include <sys/types.h>
 #include <time.h>
-#include <sys/sched.h>
+#include <sched.h>
 #include <sys/cdefs.h>
 
 struct _pthread_cleanup_context {
This page took 0.040989 seconds and 5 git commands to generate.