summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/include/sys/time.h b/sys/include/sys/time.h
index 37f3daf..fb98b9d 100644
--- a/sys/include/sys/time.h
+++ b/sys/include/sys/time.h
@@ -37,6 +37,11 @@ struct timeval {
time_t tv_usec;
};
+struct timespec {
+ time_t tv_sec;
+ long tv_nsec;
+};
+
struct date {
uint8_t sec;
uint8_t min;