diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-05-03 14:54:59 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-05-03 14:54:59 +0000 |
commit | 2512aaa8f035e96c158e3f07a8d0ff70a398fe08 (patch) | |
tree | 56a9e8cc498d8042e0be739e045612d77de6b779 /lib | |
parent | 2efe48fc775fbc66e63694e365078f22092251a8 (diff) | |
download | libfuse-2512aaa8f035e96c158e3f07a8d0ff70a398fe08.tar.gz |
fix
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; |