diff options
Diffstat (limited to 'lib/x1000-installer/test_lib/file.h')
-rw-r--r-- | lib/x1000-installer/test_lib/file.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/x1000-installer/test_lib/file.h b/lib/x1000-installer/test_lib/file.h new file mode 100644 index 0000000000..2a6554c695 --- /dev/null +++ b/lib/x1000-installer/test_lib/file.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #ifndef FILE_H | ||
2 | #define FILE_H | ||
3 | |||
4 | #include <sys/types.h> | ||
5 | #include <sys/statfs.h> | ||
6 | #include <sys/stat.h> | ||
7 | #include <fcntl.h> | ||
8 | #include <unistd.h> | ||
9 | |||
10 | #ifdef MAX_PATH | ||
11 | # undef MAX_PATH | ||
12 | #endif | ||
13 | |||
14 | #define MAX_PATH 260 | ||
15 | |||
16 | off_t filesize(int fd); | ||
17 | |||
18 | #endif | ||