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>.
This commit is contained in:
Jonathan Wakely 2023-11-26 21:31:05 +00:00
parent 3e35c54a9b
commit 6c8f2d3a08

View file

@ -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>