diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-11 15:38:54 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-03-11 15:45:38 +0100 |
commit | b161b155c8edf4ed88df68c4fe4a41597f0d2b4d (patch) | |
tree | c09cc1804e2b34259276604218dd4031928e9c51 /newlib/libc/include/machine | |
parent | 6bd719beeb334e07ca7b0cb097494b28c5137fc3 (diff) | |
download | cygnal-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/machine')
-rw-r--r-- | newlib/libc/include/machine/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/machine/time.h b/newlib/libc/include/machine/time.h index 9b44941d6..6f9a35cc5 100644 --- a/newlib/libc/include/machine/time.h +++ b/newlib/libc/include/machine/time.h @@ -8,7 +8,7 @@ #endif #ifdef __SPU__ -#include <sys/types.h> +#include <sys/_timespec.h> int nanosleep (const struct timespec *, struct timespec *); #endif |