diff options
Diffstat (limited to 'firmware/include/file.h')
-rw-r--r-- | firmware/include/file.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h index ec0ab87759..2d5c9b88ab 100644 --- a/firmware/include/file.h +++ b/firmware/include/file.h | |||
@@ -23,6 +23,7 @@ | |||
23 | #define _FILE_H_ | 23 | #define _FILE_H_ |
24 | 24 | ||
25 | #include <sys/types.h> | 25 | #include <sys/types.h> |
26 | #include "_ansi.h" | ||
26 | 27 | ||
27 | #undef MAX_PATH /* this avoids problems when building simulator */ | 28 | #undef MAX_PATH /* this avoids problems when building simulator */ |
28 | #define MAX_PATH 260 | 29 | #define MAX_PATH 260 |
@@ -94,5 +95,5 @@ extern int rename(const char* path, const char* newname); | |||
94 | extern int ftruncate(int fd, off_t length); | 95 | extern int ftruncate(int fd, off_t length); |
95 | extern off_t filesize(int fd); | 96 | extern off_t filesize(int fd); |
96 | extern int release_files(int volume); | 97 | extern int release_files(int volume); |
97 | 98 | int fdprintf (int fd, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); | |
98 | #endif | 99 | #endif |