diff --git a/configure.ac b/configure.ac index 66d8c3be67..bf7c4e477e 100644 --- a/configure.ac +++ b/configure.ac @@ -937,14 +937,14 @@ TEMP_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" AC_MSG_CHECKING([for mismatched boost c++11 scoped enums]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #include "boost/config.hpp" - #include "boost/version.hpp" + #include + #include #if !defined(BOOST_NO_SCOPED_ENUMS) && !defined(BOOST_NO_CXX11_SCOPED_ENUMS) && BOOST_VERSION < 105700 #define BOOST_NO_SCOPED_ENUMS #define BOOST_NO_CXX11_SCOPED_ENUMS #define CHECK #endif - #include "boost/filesystem.hpp" + #include ]],[[ #if defined(CHECK) boost::filesystem::copy_file("foo", "bar"); diff --git a/src/miner.h b/src/miner.h index 0fd97c20e1..7d64d7f9fa 100644 --- a/src/miner.h +++ b/src/miner.h @@ -11,8 +11,8 @@ #include #include -#include "boost/multi_index_container.hpp" -#include "boost/multi_index/ordered_index.hpp" +#include +#include class CBlockIndex; class CChainParams; diff --git a/src/txmempool.h b/src/txmempool.h index 3aebf394f8..e6b90e3481 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -26,11 +26,10 @@ #include "bls/bls.h" #include "pubkey.h" -#include "boost/multi_index_container.hpp" -#include "boost/multi_index/ordered_index.hpp" -#include "boost/multi_index/hashed_index.hpp" +#include +#include +#include #include - #include class CBlockIndex;