diff options
Diffstat (limited to 'firmware/include/filesystem-native.h')
-rw-r--r-- | firmware/include/filesystem-native.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/include/filesystem-native.h b/firmware/include/filesystem-native.h index 640e179890..800e7bb23b 100644 --- a/firmware/include/filesystem-native.h +++ b/firmware/include/filesystem-native.h | |||
@@ -43,6 +43,8 @@ | |||
43 | #define __OPEN_MODE_ARG | 43 | #define __OPEN_MODE_ARG |
44 | #define __CREAT_MODE_ARG | 44 | #define __CREAT_MODE_ARG |
45 | 45 | ||
46 | #include <time.h> | ||
47 | |||
46 | int open(const char *name, int oflag); | 48 | int open(const char *name, int oflag); |
47 | int creat(const char *name); | 49 | int creat(const char *name); |
48 | int close(int fildes); | 50 | int close(int fildes); |
@@ -53,6 +55,7 @@ ssize_t read(int fildes, void *buf, size_t nbyte); | |||
53 | ssize_t write(int fildes, const void *buf, size_t nbyte); | 55 | ssize_t write(int fildes, const void *buf, size_t nbyte); |
54 | int remove(const char *path); | 56 | int remove(const char *path); |
55 | int rename(const char *old, const char *new); | 57 | int rename(const char *old, const char *new); |
58 | int utime(const char *path, const struct utimbuf* times); | ||
56 | off_t filesize(int fildes); | 59 | off_t filesize(int fildes); |
57 | int fsamefile(int fildes1, int fildes2); | 60 | int fsamefile(int fildes1, int fildes2); |
58 | int relate(const char *path1, const char *path2); | 61 | int relate(const char *path1, const char *path2); |