diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-11-03 21:56:44 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-11-03 21:56:44 +0000 |
commit | e1276e334298251d73303999d2adc688abbfc856 (patch) | |
tree | ea3c287d5d76e59a9d98565150124fd1d5ec7e50 | |
parent | fab72592d86d11b89a01f0f3c2c9c329d43466c1 (diff) |
libstdc++: Ensure std::lock_guard is declared
libstdc++-v3/ChangeLog:
* include/std/syncstream: Include <bits/std_mutex.h>
unconditionally.
-rw-r--r-- | libstdc++-v3/include/std/syncstream | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libstdc++-v3/include/std/syncstream b/libstdc++-v3/include/std/syncstream index 5e0864ec54a..9d1db0cf286 100644 --- a/libstdc++-v3/include/std/syncstream +++ b/libstdc++-v3/include/std/syncstream @@ -44,10 +44,7 @@ #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) { |