diff --git a/libs/libc/include/time.h b/libs/libc/include/time.h index 550298cf..4771862e 100644 --- a/libs/libc/include/time.h +++ b/libs/libc/include/time.h @@ -21,6 +21,13 @@ struct tm const char* tm_zone; }; +// Captures elapsed time. +struct timeval +{ + time_t tv_sec; + unsigned long tv_usec; +}; + #define CLOCKS_PER_SEC 1000 // Number of clock_t per second. #ifdef __cplusplus