From 07f01d1ab5e68fc042356fd90fa07c199791b29c Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 10 Apr 2020 19:35:06 +0200 Subject: Ported to Debian 10 --- server.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'server.cpp') diff --git a/server.cpp b/server.cpp index 47c50ac..26feabc 100644 --- a/server.cpp +++ b/server.cpp @@ -1,7 +1,19 @@ +#include + +// Support both boost in Debian unstable (BOOST_LATEST) and in stable (boost 1.67) +#if BOOST_VERSION >= 107100 +#define BOOST_LATEST +#endif + #include #include #include +#ifdef BOOST_LATEST #include +#else +#include +#include +#endif #include #include #include -- cgit v1.2.3