Skip to content

Commit

Permalink
Fix compiler error (#5669)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFreeman authored Feb 8, 2025
1 parent f0cf643 commit 8830057
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/swoole_coroutine.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
#include <functional>
#include <string>
#include <unordered_map>
#ifdef SW_USE_THREAD_CONTEXT
#include <system_error>
#endif

typedef std::chrono::microseconds seconds_type;

Expand Down
1 change: 1 addition & 0 deletions src/os/async_thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <mutex>
#include <queue>
#include <sstream>
#include <system_error>

static std::mutex async_thread_lock;
static std::shared_ptr<swoole::async::ThreadPool> async_thread_pool;
Expand Down

0 comments on commit 8830057

Please sign in to comment.