summaryrefslogtreecommitdiff
path: root/src/user/lib/include/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/include/time.h')
-rw-r--r--src/user/lib/include/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/lib/include/time.h b/src/user/lib/include/time.h
index 067c35f..5d03664 100644
--- a/src/user/lib/include/time.h
+++ b/src/user/lib/include/time.h
@@ -15,6 +15,11 @@ struct tm {
int tm_isdst; /* Daylight Savings flag. */
};
+struct timespec {
+ time_t tv_sec;
+ long long tv_nsec;
+};
+
time_t time(time_t *tloc);
clock_t clock(void);