diff options
author | Jiufei Xue <jiufei.xue@linux.alibaba.com> | 2019-04-17 03:08:56 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:37 +0000 |
commit | 8a792b034d4b315251fd842bb4c73a133aa1368f (patch) | |
tree | 1a82e2d640853b89fc988bc0c743eeb1949b3282 /tools/virtiofsd | |
parent | 771b01eb76ff480fee984bd1d21727147cc3e702 (diff) |
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.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 |