Fix build with Boost 1.74

Thanks iDunk for testing
This commit is contained in:
moneromooo-monero 2020-08-16 16:14:04 +00:00
parent c108c5e2f0
commit 07442a6059
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 6 additions and 0 deletions

View file

@ -31,6 +31,9 @@
#pragma once #pragma once
#include <boost/asio/io_service.hpp> #include <boost/asio/io_service.hpp>
#include <boost/function/function_fwd.hpp> #include <boost/function/function_fwd.hpp>
#if BOOST_VERSION >= 107400
#include <boost/serialization/library_version_type.hpp>
#endif
#include <boost/serialization/serialization.hpp> #include <boost/serialization/serialization.hpp>
#include <boost/serialization/version.hpp> #include <boost/serialization/version.hpp>
#include <boost/serialization/list.hpp> #include <boost/serialization/list.hpp>

View file

@ -34,6 +34,9 @@
#include <boost/program_options/options_description.hpp> #include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp> #include <boost/program_options/variables_map.hpp>
#if BOOST_VERSION >= 107400
#include <boost/serialization/library_version_type.hpp>
#endif
#include <boost/serialization/list.hpp> #include <boost/serialization/list.hpp>
#include <boost/serialization/vector.hpp> #include <boost/serialization/vector.hpp>
#include <boost/serialization/deque.hpp> #include <boost/serialization/deque.hpp>