From a6a8a75a0c818f99a71b931eb664ceaa0bbb1837 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Thu, 10 Jan 2013 19:45:57 +0100 Subject: [PATCH] Add data types to and tm_yday to struct tm. --- libc/include/time.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libc/include/time.h b/libc/include/time.h index b2c6c5ce..c8ebb785 100644 --- a/libc/include/time.h +++ b/libc/include/time.h @@ -30,7 +30,12 @@ __BEGIN_DECLS @include(clock_t.h) +@include(size_t.h) +@include(pid_t.h) @include(time_t.h) +@include(NULL.h) + +#define CLOCKS_PER_SEC 1000000 struct tm { @@ -41,6 +46,7 @@ struct tm int tm_mon; int tm_year; int tm_wday; + int tm_yday; int tm_isdst; };