diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -514,6 +514,10 @@ static void mtime_set(const struct stat *stbuf, struct timespec *ts) #endif } +#ifndef CLOCK_MONOTONIC +#define CLOCK_MONOTONIC CLOCK_REALTIME +#endif + static void curr_time(struct timespec *now) { static clockid_t clockid = CLOCK_MONOTONIC; |