aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-08-27 03:07:32 -0700
committerAlexander Blair <snipa@jagtech.io>2020-08-27 03:07:32 -0700
commit0c101f1236c767ae3f99282474dcb3ce915277ea (patch)
tree2d32b2cedd0284ffdb1fe9046c56ce451c581588 /src
parentMerge pull request #6766 (diff)
parentFix build with Boost 1.74 (diff)
downloadmonero-0c101f1236c767ae3f99282474dcb3ce915277ea.tar.xz
Merge pull request #6767
07442a605 Fix build with Boost 1.74 (moneromooo-monero)
Diffstat (limited to 'src')
-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 6c777ec82..85aa5d4e2 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 c526bac0a..f283a873e 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>