diff --git a/libc/test/src/stdio/CMakeLists.txt b/libc/test/src/stdio/CMakeLists.txt index a11a232c27e1a..4c38e8aba7d7f 100644 --- a/libc/test/src/stdio/CMakeLists.txt +++ b/libc/test/src/stdio/CMakeLists.txt @@ -354,7 +354,7 @@ if(${LIBC_TARGET_OS} STREQUAL "linux") libc.src.unistd.access libc.src.unistd.close ) - + add_libc_test( rename_test SUITE diff --git a/libc/test/src/stdio/rename_test.cpp b/libc/test/src/stdio/rename_test.cpp index a9fbe24ded9cf..3ed39fe8c0eb9 100644 --- a/libc/test/src/stdio/rename_test.cpp +++ b/libc/test/src/stdio/rename_test.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +#include "include/llvm-libc-macros/linux/unistd-macros.h" +#include "include/llvm-libc-macros/linux/sys-stat-macros.h" #include "src/errno/libc_errno.h" #include "src/fcntl/open.h" #include "src/stdio/rename.h"