aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-08-16 16:14:04 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-08-16 16:23:26 +0000
commit07442a60593a662161139947f6fbf29265fc8a5f (patch)
tree6423b2a2d7393cc3c54a359f8827f11c5f7fbbfe
parentMerge pull request #6354 (diff)
downloadmonero-07442a60593a662161139947f6fbf29265fc8a5f.tar.xz
Fix build with Boost 1.74
Thanks iDunk for testing
-rw-r--r--src/cryptonote_core/blockchain.h3
-rw-r--r--src/wallet/wallet2.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h
index 703dd6400..2497b8781 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -31,6 +31,9 @@
#pragma once
#include <boost/asio/io_service.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/version.hpp>
#include <boost/serialization/list.hpp>
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 712f91613..afb363b22 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -34,6 +34,9 @@
#include <boost/program_options/options_description.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/vector.hpp>
#include <boost/serialization/deque.hpp>