diff options
Diffstat (limited to 'firmware/include/time.h')
-rw-r--r-- | firmware/include/time.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/include/time.h b/firmware/include/time.h index 9200e82232..9010d99cc2 100644 --- a/firmware/include/time.h +++ b/firmware/include/time.h | |||
@@ -37,6 +37,13 @@ struct tm *localtime(const time_t *timep); | |||
37 | 37 | ||
38 | #endif /* SIMULATOR */ | 38 | #endif /* SIMULATOR */ |
39 | 39 | ||
40 | #ifdef __PCTOOL__ | ||
41 | /* this time.h does not define struct timespec, | ||
42 | so tell sys/stat.h not to use it */ | ||
43 | #undef __USE_MISC | ||
44 | #endif | ||
45 | |||
46 | |||
40 | #endif /* _TIME_H_ */ | 47 | #endif /* _TIME_H_ */ |
41 | 48 | ||
42 | 49 | ||