From 8fd4943b2721696f86783d22dd2e8d593a22a766 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 2 Jun 2023 15:25:11 +0200 Subject: libc: stub out sltar's requirements --- src/user/lib/include/time.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/user/lib/include/time.h') 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); -- cgit v1.2.3