Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-30 17:23:20 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-10-30 22:28:00 +0300
commitce8159d5ce5a4350b28a46fdca3164508d5a6fdd (patch)
treed3058b1e3386a32f88d7a3804e79362ba5e20d56
parent677eea00a63a1dbf187aafa88576c792d4a4f100 (diff)
Include <sched.h> in <pthread.h>
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>
-rw-r--r--newlib/libc/include/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/pthread.h b/newlib/libc/include/pthread.h
index db1f9c1ca..907970fdf 100644
--- a/newlib/libc/include/pthread.h
+++ b/newlib/libc/include/pthread.h
@@ -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 {