diff options
Diffstat (limited to 'samples/vfs/test-statx.c')
-rw-r--r-- | samples/vfs/test-statx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/samples/vfs/test-statx.c b/samples/vfs/test-statx.c index a3d68159fb51..49c7a46cee07 100644 --- a/samples/vfs/test-statx.c +++ b/samples/vfs/test-statx.c @@ -23,6 +23,8 @@ #include <linux/fcntl.h> #define statx foo #define statx_timestamp foo_timestamp +struct statx; +struct statx_timestamp; #include <sys/stat.h> #undef statx #undef statx_timestamp @@ -216,7 +218,7 @@ int main(int argc, char **argv) struct statx stx; int ret, raw = 0, atflag = AT_SYMLINK_NOFOLLOW; - unsigned int mask = STATX_ALL; + unsigned int mask = STATX_BASIC_STATS | STATX_BTIME; for (argv++; *argv; argv++) { if (strcmp(*argv, "-F") == 0) { |