diff options
| author | Nick Desaulniers <nickdesaulniers@users.noreply.github.com> | 2023-12-13 09:55:29 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-13 09:55:29 -0800 |
| commit | c0ad6e2fa6353d06aa62b4874f48d5ba2159de56 (patch) | |
| tree | d2d3c83e6500c2f41752f7ece960ff00f773e9bd /libc/test/src/unistd/link_test.cpp | |
| parent | 2c5fe1486c36203e78daee6be571145a5d6084e2 (diff) | |
[libc] fix unit tests (#75361)
Fixes #75261
Diffstat (limited to 'libc/test/src/unistd/link_test.cpp')
| -rw-r--r-- | libc/test/src/unistd/link_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/test/src/unistd/link_test.cpp b/libc/test/src/unistd/link_test.cpp index b1b9383cb62e..2d5aa7588b08 100644 --- a/libc/test/src/unistd/link_test.cpp +++ b/libc/test/src/unistd/link_test.cpp @@ -14,6 +14,8 @@ #include "test/UnitTest/ErrnoSetterMatcher.h" #include "test/UnitTest/Test.h" +#include <sys/stat.h> + TEST(LlvmLibcLinkTest, CreateAndUnlink) { using LIBC_NAMESPACE::testing::ErrnoSetterMatcher::Succeeds; constexpr const char *TEST_FILE = "testdata/link.test"; |
