Skip to content

Commit 7bdb91c

Browse files
committed
syscalls/utimensat01: Use lapi/utime.h for fallback definitions
Fixes build failures on musl. Signed-off-by: Cyril Hrubis <[email protected]>
1 parent 50034d4 commit 7bdb91c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

testcases/kernel/syscalls/utimensat/utimensat01.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
#include <string.h>
1717
#include <sys/stat.h>
1818
#include "lapi/fs.h"
19+
#include "lapi/utime.h"
1920
#include "tst_timer.h"
2021

21-
#define UTIME_NOW ((1l << 30) - 1l)
22-
#define UTIME_OMIT ((1l << 30) - 2l)
23-
2422
#define TEST_FILE "test_file"
2523
#define TEST_DIR "test_dir"
2624

0 commit comments

Comments
 (0)