summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/sched.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-11 15:38:54 +0100
committerCorinna Vinschen <corinna@vinschen.de>2015-03-11 15:45:38 +0100
commitb161b155c8edf4ed88df68c4fe4a41597f0d2b4d (patch)
treec09cc1804e2b34259276604218dd4031928e9c51 /newlib/libc/include/sys/sched.h
parent6bd719beeb334e07ca7b0cb097494b28c5137fc3 (diff)
downloadcygnal-b161b155c8edf4ed88df68c4fe4a41597f0d2b4d.tar.gz
cygnal-b161b155c8edf4ed88df68c4fe4a41597f0d2b4d.tar.bz2
cygnal-b161b155c8edf4ed88df68c4fe4a41597f0d2b4d.zip
Add and use latest <sys/timespec.h> from FreeBSD
* libc/include/sys/_timespec.h: Import from FreeBSD. * libc/include/sys/timespec.h: Likewise. * libc/include/time.h: Include <sys/timespec.h>. * libc/include/sys/types.h (timespec): Delete. (itimerspec): Likewise. * libc/include/machine/time.h: Include <sys/_timespec.h>. * libc/include/sys/sched.h: Likewise. * libc/include/sys/signal.h: Likewise. * libc/include/sys/stat.h: Likewise. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/include/sys/sched.h')
-rw-r--r--newlib/libc/include/sys/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/sched.h b/newlib/libc/include/sys/sched.h
index 58f99d682..4adb6e2d6 100644
--- a/newlib/libc/include/sys/sched.h
+++ b/newlib/libc/include/sys/sched.h
@@ -21,6 +21,8 @@
#ifndef _SYS_SCHED_H_
#define _SYS_SCHED_H_
+#include <sys/_timespec.h>
+
#ifdef __cplusplus
extern "C" {
#endif