diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-30 17:23:20 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-10-30 22:28:00 +0300 |
commit | ce8159d5ce5a4350b28a46fdca3164508d5a6fdd (patch) | |
tree | d3058b1e3386a32f88d7a3804e79362ba5e20d56 /newlib/libc | |
parent | 677eea00a63a1dbf187aafa88576c792d4a4f100 (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>
Diffstat (limited to 'newlib/libc')
-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 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 { |