From 2795a669856ad155882b2d8af0908cee31057c8d Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 30 May 2026 10:05:48 +0100 Subject: [PATCH] libc: add time_t and struct timespec definitions --- lib/libc/include/time.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/libc/include/time.h b/lib/libc/include/time.h index 404abb3..0005641 100644 --- a/lib/libc/include/time.h +++ b/lib/libc/include/time.h @@ -1,4 +1,11 @@ #ifndef TIME_H_ #define TIME_H_ +typedef long long time_t; + +struct timespec { + time_t tv_sec; + long long tv_nsec; +}; + #endif