public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-8104] libstdc++: Include <stdint.h> in <bits/atomic_wait.h>
@ 2023-11-28 22:30 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-11-28 22:30 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:336e16b8b5f25b9dd731bef1c4f47e0cfbb37842

commit r13-8104-g336e16b8b5f25b9dd731bef1c4f47e0cfbb37842
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Sun Nov 26 21:31:05 2023 +0000

    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>.
    
    (cherry picked from commit 6c8f2d3a08bc013ddb31f7fccd7136751a1460ed)

Diff:
---
 libstdc++-v3/include/bits/atomic_wait.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstdc++-v3/include/bits/atomic_wait.h b/libstdc++-v3/include/bits/atomic_wait.h
index 67c0e3bf56b..aaf36832ea3 100644
--- a/libstdc++-v3/include/bits/atomic_wait.h
+++ b/libstdc++-v3/include/bits/atomic_wait.h
@@ -34,6 +34,7 @@
 
 #include <bits/c++config.h>
 #if defined _GLIBCXX_HAS_GTHREADS || defined _GLIBCXX_HAVE_LINUX_FUTEX
+#include <stdint.h>
 #include <bits/functional_hash.h>
 #include <bits/gthr.h>
 #include <ext/numeric_traits.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-28 22:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-28 22:30 [gcc r13-8104] libstdc++: Include <stdint.h> in <bits/atomic_wait.h> Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).