summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-07-08 10:14:51 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-07-08 14:16:25 +0000
commit39b82afb45fb0072e65c07a0eb5392dce5d9439e (patch)
tree38eb99f70308d348f6e54ad54ad08bb2e464179e
parent78eb87f453c08c123788c8a7acea92b7032c1a47 (diff)
downloadrockbox-39b82afb45fb0072e65c07a0eb5392dce5d9439e.tar.gz
rockbox-39b82afb45fb0072e65c07a0eb5392dce5d9439e.zip
Fix warnings introduced in c174d3a5 (redux)
Change-Id: Icc871bd9875aa0d092a4fba3e8a6c3a598053854
-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"