libstdc++: Ensure std::lock_guard is declared
authorJonathan Wakely <jwakely@redhat.com>
Tue, 3 Nov 2020 21:56:44 +0000 (21:56 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 3 Nov 2020 21:56:44 +0000 (21:56 +0000)
libstdc++-v3/ChangeLog:

* include/std/syncstream: Include <bits/std_mutex.h>
unconditionally.

libstdc++-v3/include/std/syncstream

index 5e0864ec54a8eb9fcd3bedbff49067b993cb8754..9d1db0cf286e2724655aa1565051aa66833983d4 100644 (file)
 #include <bits/allocator.h>
 #include <bits/functexcept.h>
 #include <bits/functional_hash.h>
-
-#if _GLIBCXX_HAS_GTHREADS
-# include <bits/std_mutex.h>
-#endif
+#include <bits/std_mutex.h>
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {