summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/fat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index b83ceeec0d..199765b11c 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -23,6 +23,9 @@
#include <stdbool.h>
#include <sys/types.h>
+#if defined(__PCTOOL__) || defined(SIMULATOR) || (CONFIG_PLATFORM == PLATFORM_HOSTED)
+#include <utime.h>
+#endif
#include <time.h>
#include "config.h"
#include "system.h"