diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-11-26 21:31:05 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-11-28 12:43:15 +0000 |
commit | 6c8f2d3a08bc013ddb31f7fccd7136751a1460ed (patch) | |
tree | 6f07e4d5a3b20849eb7a753296057828b1256e4b | |
parent | 3e35c54a9b54e62c44980b6b07289b7c59ad0ce7 (diff) | |
download | gcc-6c8f2d3a08bc013ddb31f7fccd7136751a1460ed.zip gcc-6c8f2d3a08bc013ddb31f7fccd7136751a1460ed.tar.gz gcc-6c8f2d3a08bc013ddb31f7fccd7136751a1460ed.tar.bz2 |
libstdc++: Include <stdint.h> in <bits/atomic_wait.h>
This is needed in order to compile it as a header-unit, which might be
desired because it's included by both <atomic> and <semaphore>.
libstdc++-v3/ChangeLog:
* include/bits/atomic_wait.h: Include <stdint.h>.
-rw-r--r-- | libstdc++-v3/include/bits/atomic_wait.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/atomic_wait.h b/libstdc++-v3/include/bits/atomic_wait.h index 506b7f0..1460b1d 100644 --- a/libstdc++-v3/include/bits/atomic_wait.h +++ b/libstdc++-v3/include/bits/atomic_wait.h @@ -35,6 +35,7 @@ #include <bits/version.h> #if __glibcxx_atomic_wait +#include <stdint.h> #include <bits/functional_hash.h> #include <bits/gthr.h> #include <ext/numeric_traits.h> |