4 * Struct declaration for dealing with time.
28 #if !defined(_TIME_T_DEFINED) && !defined(_TIME_T_DECLARED)
31 /* this define below is used by the mingw headers to prevent duplicate
33 #define _TIME_T_DEFINED
34 #define _TIME_T_DECLARED
35 time_t time(time_t *t
);
36 struct tm
*localtime(const time_t *timep
);
37 struct tm
*gmtime(const time_t *timep
);
38 struct tm
*gmtime_r(const time_t *timep
, struct tm
*result
);
39 time_t mktime(struct tm
*t
);
41 #endif /* SIMULATOR */
44 /* this time.h does not define struct timespec,
45 so tell sys/stat.h not to use it */