diff options
author | Schrodinger ZHU Yifan <yifanzhu@rochester.edu> | 2024-06-14 15:59:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 15:59:42 -0700 |
commit | c091dd48008ba6d85aee68227077ee05daeb7ca7 (patch) | |
tree | a8620a466472e68a0283831919ee49083ccc461b /libc/test | |
parent | 8f7d30abb243d5383171861bd5ee443d95b2a338 (diff) | |
download | llvm-c091dd48008ba6d85aee68227077ee05daeb7ca7.zip llvm-c091dd48008ba6d85aee68227077ee05daeb7ca7.tar.gz llvm-c091dd48008ba6d85aee68227077ee05daeb7ca7.tar.bz2 |
[libc] fix build errors (#95613)
Diffstat (limited to 'libc/test')
-rw-r--r-- | libc/test/integration/src/pthread/CMakeLists.txt | 1 | ||||
-rw-r--r-- | libc/test/integration/src/pthread/pthread_rwlock_test.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/test/integration/src/pthread/CMakeLists.txt b/libc/test/integration/src/pthread/CMakeLists.txt index 16a1ff6..fa5fd3a 100644 --- a/libc/test/integration/src/pthread/CMakeLists.txt +++ b/libc/test/integration/src/pthread/CMakeLists.txt @@ -53,6 +53,7 @@ add_integration_test( libc.src.sys.wait.waitpid libc.src.stdlib.exit libc.src.__support.CPP.atomic + libc.src.__support.CPP.new libc.src.__support.threads.sleep ) diff --git a/libc/test/integration/src/pthread/pthread_rwlock_test.cpp b/libc/test/integration/src/pthread/pthread_rwlock_test.cpp index a2ae228..9175efe 100644 --- a/libc/test/integration/src/pthread/pthread_rwlock_test.cpp +++ b/libc/test/integration/src/pthread/pthread_rwlock_test.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "src/__support/CPP/atomic.h" +#include "src/__support/CPP/new.h" #include "src/__support/OSUtil/syscall.h" #include "src/__support/threads/linux/raw_mutex.h" #include "src/__support/threads/linux/rwlock.h" |