diff options
| author | Jiufei Xue | 2019-04-16 21:08:56 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2020-01-23 17:41:37 +0100 |
| commit | 8a792b034d4b315251fd842bb4c73a133aa1368f (patch) | |
| tree | 1a82e2d640853b89fc988bc0c743eeb1949b3282 /tools | |
| parent | virtiofsd: Clean up inodes on destroy (diff) | |
| download | qemu-8a792b034d4b315251fd842bb4c73a133aa1368f.tar.gz qemu-8a792b034d4b315251fd842bb4c73a133aa1368f.tar.xz qemu-8a792b034d4b315251fd842bb4c73a133aa1368f.zip | |
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')
| -rw-r--r-- | tools/virtiofsd/fuse_misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/virtiofsd/fuse_misc.h b/tools/virtiofsd/fuse_misc.h index f252baa752..5c618ce21f 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 |
