summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/include/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h
index 694de48348..d497ede23c 100644
--- a/firmware/include/file.h
+++ b/firmware/include/file.h
@@ -52,6 +52,7 @@
52#define filesize(x) sim_filesize(x) 52#define filesize(x) sim_filesize(x)
53#define fsync(x) sim_fsync(x) 53#define fsync(x) sim_fsync(x)
54#define ftruncate(x,y) sim_ftruncate(x,y) 54#define ftruncate(x,y) sim_ftruncate(x,y)
55#define lseek(x,y,z) sim_lseek(x,y,z)
55#endif 56#endif
56 57
57typedef int (*open_func)(const char* pathname, int flags); 58typedef int (*open_func)(const char* pathname, int flags);