Skip to content

Commit 0c8dfc8

Browse files
[libc][stdio][test] fixup rename test (#86136)
Link: #84980 Link: #85068
1 parent 7650a01 commit 0c8dfc8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

libc/test/src/stdio/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ if(${LIBC_TARGET_OS} STREQUAL "linux")
354354
libc.src.unistd.access
355355
libc.src.unistd.close
356356
)
357-
357+
358358
add_libc_test(
359359
rename_test
360360
SUITE

libc/test/src/stdio/rename_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#include "include/llvm-libc-macros/linux/unistd-macros.h"
10+
#include "include/llvm-libc-macros/linux/sys-stat-macros.h"
911
#include "src/errno/libc_errno.h"
1012
#include "src/fcntl/open.h"
1113
#include "src/stdio/rename.h"

0 commit comments

Comments
 (0)