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>
This commit is contained in:
Jiufei Xue
2019-04-17 03:08:56 +08:00
committed by Dr. David Alan Gilbert
parent 771b01eb76
commit 8a792b034d
2 changed files with 17 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
*/
#include <pthread.h>
#include "config-host.h"
/*
* Versioned symbols cannot be used in some cases because it