aboutsummaryrefslogtreecommitdiff
path: root/tools/virtiofsd
diff options
context:
space:
mode:
authorJiufei Xue <jiufei.xue@linux.alibaba.com>2019-04-17 03:08:56 +0800
committerDr. David Alan Gilbert <dgilbert@redhat.com>2020-01-23 16:41:37 +0000
commit8a792b034d4b315251fd842bb4c73a133aa1368f (patch)
tree1a82e2d640853b89fc988bc0c743eeb1949b3282 /tools/virtiofsd
parent771b01eb76ff480fee984bd1d21727147cc3e702 (diff)
downloadqemu-8a792b034d4b315251fd842bb4c73a133aa1368f.zip
qemu-8a792b034d4b315251fd842bb4c73a133aa1368f.tar.gz
qemu-8a792b034d4b315251fd842bb4c73a133aa1368f.tar.bz2
virtiofsd: support nanosecond resolution for file timestamp
Define HAVE_STRUCT_STAT_ST_ATIM to 1 if `st_atim' is member of `struct stat' which means support nanosecond resolution for the file timestamp fields. Signed-off-by: Jiufei Xue <jiufei.xue@linux.alibaba.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tools/virtiofsd')
-rw-r--r--tools/virtiofsd/fuse_misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/virtiofsd/fuse_misc.h b/tools/virtiofsd/fuse_misc.h
index f252baa..5c618ce 100644
--- a/tools/virtiofsd/fuse_misc.h
+++ b/tools/virtiofsd/fuse_misc.h
@@ -7,6 +7,7 @@
*/
#include <pthread.h>
+#include "config-host.h"
/*
* Versioned symbols cannot be used in some cases because it