diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-30 15:23:20 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-11-02 15:36:14 +0100 |
commit | 11286358a073511199445d724e145d062e4a605a (patch) | |
tree | 2142630691ce98b6caaca711e15578027a8c9975 | |
parent | 018ab22dfdf64b40027f1f9cbb65088fe3cddafb (diff) | |
download | newlib-11286358a073511199445d724e145d062e4a605a.zip newlib-11286358a073511199445d724e145d062e4a605a.tar.gz newlib-11286358a073511199445d724e145d062e4a605a.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/pthread.h b/newlib/libc/include/pthread.h index db1f9c1..907970f 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 { |