Commit 5b743abf authored by Dominik Charousset's avatar Dominik Charousset

added missing include, fixed GCC build

parent e5299044
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <mutex> #include <mutex>
#include <atomic> #include <atomic>
#include <memory> #include <memory>
#include <condition_variable> // std::cv_status
#include "cppa/config.hpp" #include "cppa/config.hpp"
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#if !defined(_GLIBCXX_USE_SCHED_YIELD) && !defined(__clang__) #if !defined(_GLIBCXX_USE_SCHED_YIELD) && !defined(__clang__)
#include <time.h> #include <time.h>
namespace std { namespace this_thread { namespace { namespace std { namespace this_thread { namespace {
inline void yield() throw { inline void yield() noexcept {
timespec req; timespec req;
req.tv_sec = 0; req.tv_sec = 0;
req.tv_nsec = 1; req.tv_nsec = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment