diff options
-rw-r--r-- | sysif.c | 2 | ||||
-rw-r--r-- | sysif.h | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -608,7 +608,7 @@ static val stat_to_list(struct stat st) nao); } -static val stat_to_struct(struct stat st) +val stat_to_struct(struct stat st) { args_decl(args, ARGS_MIN); val strct = make_struct(stat_s, nil, args); @@ -43,6 +43,10 @@ typedef long off_t; #endif val getenv_wrap(val name); +#if HAVE_SYS_STAT +struct stat; +val stat_to_struct(struct stat st); +#endif val statp(val path); val statf(val path); off_t off_t_num(val num); |