diff options
Diffstat (limited to 'strio.h')
| -rw-r--r-- | strio.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ const char *cstr_fmt(Arena *arena, const char *fmt, ...); #if defined(__linux__) || defined(_POSIX_C_SOURCE) #include <sys/stat.h> +int fileno(FILE *); static inline long read_all_file_size(FILE *f) { struct stat b; if (fstat(fileno(f), &b)) return -1; |
