projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2efe48f
)
fix
author
Miklos Szeredi
<miklos@szeredi.hu>
Wed, 3 May 2006 14:54:59 +0000
(14:54 +0000)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Wed, 3 May 2006 14:54:59 +0000
(14:54 +0000)
ChangeLog
patch
|
blob
|
history
lib/fuse.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 7007037a09d8c1248b6258da5ad9c2e7ace4bb9d..1d34b577799ea51c28a5f1567195ab296a2f6a59 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2006-05-03 Miklos Szeredi <miklos@szeredi.hu>
+
+ * lib: fix compilation if CLOCK_MONOTONIC is not defined.
+ Reported by Christian Magnusson
+
2006-04-23 Csaba Henk <csaba.henk@creo.hu>
* lib: make FreeBSD mount routine recognize if kernel features
diff --git
a/lib/fuse.c
b/lib/fuse.c
index 3178b1a8265224515d130a1d3d546e8866615e46..3a7371d873299d4f5700bc1adc52d99aee048c1d 100644
(file)
--- 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;