diff options
Diffstat (limited to 'src/lib9/dirfwstat.c')
-rw-r--r-- | src/lib9/dirfwstat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib9/dirfwstat.c b/src/lib9/dirfwstat.c index 7ca51251..9f0d485c 100644 --- a/src/lib9/dirfwstat.c +++ b/src/lib9/dirfwstat.c @@ -10,6 +10,13 @@ futimes(int fd, struct timeval *tv) { return futimesat(fd, 0, tv); } +#elif !defined(_HAVEFUTIMES) +static int +futimes(int fd, struct timeval *tv) +{ + werrstr("futimes not available"); + return -1; +} #endif int |