syscalls/statx06.c: Fix compiler errors
PATCH 1/1 syscalls/statx06.c: Fix compiler errors
struct statx and statx_timestamp are only defined in sys/stat.h when _GNU_SOURCE is defined, so statx06.c should define _GNU_SOURCE as m4 struct check does.
Signed-off-by Xiao Yang <[email protected]>
--- testcases/kernel/syscalls/statx/statx06.c | 1 + 1 file changed, 1 insertion(+)
testcases/kernel/syscalls/statx/statx06.c +1 -0
@@ -33,6 +33,7 @@* */ +#define _GNU_SOURCE#include <stdio.h> #include <sys/mount.h> #include <time.h>
Signature · 1 line
1.8.3.1
PATCH 1/1 syscalls/statx06.c: Fix compiler errors
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]