[PATCH] Include <sched.h> in <pthread.h>
Sebastian Huber
sebastian.huber@embedded-brains.de
Fri Oct 30 19:28:00 GMT 2015
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>.
---
newlib/libc/include/pthread.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 {
--
1.8.4.5
More information about the Newlib
mailing list