summaryrefslogtreecommitdiffstats
path: root/src/lib/asiolink/io_address.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asiolink/io_address.cc')
-rw-r--r--src/lib/asiolink/io_address.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/asiolink/io_address.cc b/src/lib/asiolink/io_address.cc
index 06b7d3d990..a5af531513 100644
--- a/src/lib/asiolink/io_address.cc
+++ b/src/lib/asiolink/io_address.cc
@@ -19,6 +19,10 @@
#include <sys/socket.h>
#include <netinet/in.h>
+#if BOOST_VERSION < 106600
+#error "Boost ASIO older than 1.66 are not supported"
+#endif
+
using namespace boost::asio;
using boost::asio::ip::udp;
using boost::asio::ip::tcp;