Skip to content

Commit

Permalink
Work around header inclusion order problem when io_uring is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Nov 16, 2021
1 parent 9fa7cc7 commit 4950d6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions asio/include/asio/buffer_registration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "asio/registered_buffer.hpp"

#if defined(ASIO_HAS_IO_URING)
# include "asio/detail/scheduler.hpp"
# include "asio/detail/io_uring_service.hpp"
#endif // defined(ASIO_HAS_IO_URING)

Expand Down
1 change: 1 addition & 0 deletions asio/include/asio/detail/io_uring_service.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "asio/detail/limits.hpp"
#include "asio/detail/object_pool.hpp"
#include "asio/detail/op_queue.hpp"
#include "asio/detail/reactor.hpp"
#include "asio/detail/scheduler.hpp"
#include "asio/detail/scheduler_task.hpp"
#include "asio/detail/timer_queue_base.hpp"
Expand Down

0 comments on commit 4950d6d

Please sign in to comment.