summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/time.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/time.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/time.h')
-rw-r--r--newlib/libc/include/time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index d7b6612db..b9d1f20aa 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -25,6 +25,7 @@
#define CLK_TCK CLOCKS_PER_SEC
#include <sys/types.h>
+#include <sys/timespec.h>
_BEGIN_STD_C