From 2512aaa8f035e96c158e3f07a8d0ff70a398fe08 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 3 May 2006 14:54:59 +0000 Subject: fix --- lib/fuse.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/fuse.c') diff --git a/lib/fuse.c b/lib/fuse.c index 3178b1a..3a7371d 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -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; -- cgit v1.2.3