Skip to content

Commit 30098bf

Browse files
committed
utimensat01: Fix build for musl
which requires _GNU_SOURCE to have loff_t. Fixes: f8cbbad ("syscalls/utimensat: Migrate to new test framework") Signed-off-by: Petr Vorel <[email protected]>
1 parent d4f44e2 commit 30098bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testcases/kernel/syscalls/utimensat/utimensat01.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Basic utimnsat() test.
88
*/
99

10+
#define _GNU_SOURCE
1011
#include <stdio.h>
1112
#include <time.h>
1213
#include <errno.h>

0 commit comments

Comments
 (0)