This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] Include <sched.h> in <pthread.h>
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Cc: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Date: Fri, 30 Oct 2015 15:23:20 +0100
- Subject: [PATCH] Include <sched.h> in <pthread.h>
- Authentication-results: sourceware.org; auth=none
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