summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/time.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/include/time.h b/firmware/include/time.h
index 9200e82..9010d99 100644
--- a/firmware/include/time.h
+++ b/firmware/include/time.h
@@ -37,6 +37,13 @@ struct tm *localtime(const time_t *timep);
#endif /* SIMULATOR */
+#ifdef __PCTOOL__
+/* this time.h does not define struct timespec,
+ so tell sys/stat.h not to use it */
+#undef __USE_MISC
+#endif
+
+
#endif /* _TIME_H_ */