diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2018-11-28 17:52:00 +0100 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2018-11-28 21:17:38 +0100 |
commit | 398cfdd6a472ef89e096820a5f6e32b7015647bb (patch) | |
tree | db456426d0dbe3108cb67b5df9da1d2ff79ae7d2 /src/lib/asiodns | |
parent | [#293,!145] ext/coroutine/Makefile added in configure.ac (diff) | |
download | kea-398cfdd6a472ef89e096820a5f6e32b7015647bb.tar.xz kea-398cfdd6a472ef89e096820a5f6e32b7015647bb.zip |
[#293,!45] Add coroutine.hpp back to the kea sources
Diffstat (limited to 'src/lib/asiodns')
-rw-r--r-- | src/lib/asiodns/io_fetch.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/asiodns/io_fetch.h b/src/lib/asiodns/io_fetch.h index 16c5f1a13b..906f634832 100644 --- a/src/lib/asiodns/io_fetch.h +++ b/src/lib/asiodns/io_fetch.h @@ -7,11 +7,17 @@ #ifndef IO_FETCH_H #define IO_FETCH_H 1 +#include <config.h> + #include <boost/shared_array.hpp> #include <boost/shared_ptr.hpp> #include <boost/date_time/posix_time/posix_time_types.hpp> +#ifdef HAVE_BOOST_ASIO_COROUTINE_HPP #include <boost/asio/coroutine.hpp> +#else +#include <ext/coroutine/coroutine.hpp> +#endif #include <boost/system/error_code.hpp> #include <asiolink/io_address.h> |