From: Tomek Mrugalski Date: Wed, 28 Nov 2018 19:56:46 +0000 (+0100) Subject: [#293,!45] Addressed review comments: X-Git-Tag: 284-need-dhcp6-example-for-netconf_base~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df0f507b8b750c8dff1f537cad5b5748b7841852;p=thirdparty%2Fkea.git [#293,!45] Addressed review comments: - added explanation comments to io_fetch.h and io_asio_socket.h --- diff --git a/src/lib/asiodns/io_fetch.h b/src/lib/asiodns/io_fetch.h index 906f634832..832355f6ec 100644 --- a/src/lib/asiodns/io_fetch.h +++ b/src/lib/asiodns/io_fetch.h @@ -13,6 +13,9 @@ #include #include +// We want to use coroutine.hpp from the system's boost headers if possible. +// However, very old Boost versions (provided by RHEL 7 or CentOS 7) didn't have +// this header. So we can resort to our bundled version, but only if necessary. #ifdef HAVE_BOOST_ASIO_COROUTINE_HPP #include #else diff --git a/src/lib/asiolink/io_asio_socket.h b/src/lib/asiolink/io_asio_socket.h index e583566e98..29ca97f226 100644 --- a/src/lib/asiolink/io_asio_socket.h +++ b/src/lib/asiolink/io_asio_socket.h @@ -24,6 +24,9 @@ #include #include +// We want to use coroutine.hpp from the system's boost headers if possible. +// However, very old Boost versions (provided by RHEL 7 or CentOS 7) didn't have +// this header. So we can resort to our bundled version, but only if necessary. #ifndef HAVE_BOOST_ASIO_COROUTINE_HPP #include #else