diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2022-05-10 15:27:52 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2022-05-25 03:44:48 -0400 |
commit | 643df8fa8ef58d883cbb554c7e71910dc8a8673c (patch) | |
tree | f169cbae9b61066ce029b284e2ab2d5d43cded0c /libcxx/include/semaphore | |
parent | 9698a445c664e6f0da5727364338ee99de537d6a (diff) | |
download | llvm-643df8fa8ef58d883cbb554c7e71910dc8a8673c.zip llvm-643df8fa8ef58d883cbb554c7e71910dc8a8673c.tar.gz llvm-643df8fa8ef58d883cbb554c7e71910dc8a8673c.tar.bz2 |
[libc++] Make sure that all headers can be included with modules enabled
This commit ensures that we can include all libc++ headers with modules
enabled. It adds a test to ensure that this doesn't regress, which is
necessary because our modules CI job does not build in all Standard modes.
Differential Revision: https://reviews.llvm.org/D125331
Diffstat (limited to 'libcxx/include/semaphore')
-rw-r--r-- | libcxx/include/semaphore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/semaphore b/libcxx/include/semaphore index ce1fa69..228cf77 100644 --- a/libcxx/include/semaphore +++ b/libcxx/include/semaphore @@ -52,6 +52,7 @@ using binary_semaphore = counting_semaphore<1>; #include <__thread/timed_backoff_policy.h> #include <__threading_support> #include <atomic> +#include <limits> #include <version> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |