]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/std/condition_variable
libstdc++: Do not include <system_error> in concurrency headers
[thirdparty/gcc.git] / libstdc++-v3 / include / std / condition_variable
index b885e1baa1b61090097fd2692789250597ab218f..f671fe4afe1c9455c6cde56bdd5b899335e93d56 100644 (file)
@@ -38,6 +38,7 @@
 #else
 
 #include <bits/chrono.h>
+#include <bits/error_constants.h>
 #include <bits/std_mutex.h>
 #include <bits/unique_lock.h>
 #include <bits/alloc_traits.h>
@@ -372,7 +373,7 @@ _GLIBCXX_BEGIN_INLINE_ABI_NAMESPACE(_V2)
         {
           return __p();
         }
+
       std::stop_callback __cb(__stoken, [this] { notify_all(); });
       shared_ptr<mutex> __mutex = _M_mutex;
       while (!__p())