From 63a1fbff7c9b4d615fffd81d42cba82aff1319a3 Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Thu, 26 Oct 2023 08:35:46 +1100 Subject: [PATCH] Add missing #includes. --- asio/include/asio/experimental/impl/promise.hpp | 2 ++ asio/src/tests/unit/experimental/coro/allocator.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/asio/include/asio/experimental/impl/promise.hpp b/asio/include/asio/experimental/impl/promise.hpp index ae61761904..a80cf110ba 100644 --- a/asio/include/asio/experimental/impl/promise.hpp +++ b/asio/include/asio/experimental/impl/promise.hpp @@ -18,6 +18,8 @@ #include "asio/detail/config.hpp" #include "asio/cancellation_signal.hpp" #include "asio/detail/utility.hpp" +#include "asio/error.hpp" +#include "asio/system_error.hpp" #include #include "asio/detail/push_options.hpp" diff --git a/asio/src/tests/unit/experimental/coro/allocator.cpp b/asio/src/tests/unit/experimental/coro/allocator.cpp index 6394aad0f2..845906df85 100644 --- a/asio/src/tests/unit/experimental/coro/allocator.cpp +++ b/asio/src/tests/unit/experimental/coro/allocator.cpp @@ -17,6 +17,7 @@ // Test that header file is self-contained. #include "asio/experimental/coro.hpp" +#include #include "asio/io_context.hpp" #include "../../unit_test.hpp"