diff options
-rw-r--r-- | TestHelper.h | 1 | ||||
-rw-r--r-- | checkRandomTest.cpp | 1 | ||||
-rw-r--r-- | createRandomTest.cpp | 1 | ||||
-rw-r--r-- | genesis.cpp | 6 | ||||
-rw-r--r-- | hexPrefix.cpp | 3 | ||||
-rw-r--r-- | net.cpp | 1 | ||||
-rw-r--r-- | rlp.cpp | 3 | ||||
-rw-r--r-- | state.cpp | 1 | ||||
-rw-r--r-- | trie.cpp | 3 | ||||
-rw-r--r-- | vm.cpp | 1 | ||||
-rw-r--r-- | vm.h | 1 |
11 files changed, 18 insertions, 4 deletions
diff --git a/TestHelper.h b/TestHelper.h index 3707a5ff..0b80273c 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -22,6 +22,7 @@ #pragma once #include <functional> +#include <boost/asio.hpp> #include <boost/test/unit_test.hpp> #include "JsonSpiritHeaders.h" #include <libethereum/State.h> diff --git a/checkRandomTest.cpp b/checkRandomTest.cpp index e3442d43..50c3c367 100644 --- a/checkRandomTest.cpp +++ b/checkRandomTest.cpp @@ -20,6 +20,7 @@ * Check a random test and return 0/1 for success or failure. To be used for efficiency in the random test simulation. */ +#include <boost/asio.hpp> #include <libdevcore/Common.h> #include <libdevcore/Exceptions.h> #include <libdevcore/Log.h> diff --git a/createRandomTest.cpp b/createRandomTest.cpp index fa5ed7bd..da1a028b 100644 --- a/createRandomTest.cpp +++ b/createRandomTest.cpp @@ -23,6 +23,7 @@ #include <string> #include <iostream> #include <chrono> +#include <boost/asio.hpp> #include <boost/random.hpp> #include <boost/filesystem/path.hpp> #pragma GCC diagnostic ignored "-Wunused-parameter" diff --git a/genesis.cpp b/genesis.cpp index 7ca741ee..a450b79f 100644 --- a/genesis.cpp +++ b/genesis.cpp @@ -22,10 +22,14 @@ #include <fstream> #include <random> + +// Make sure boost/asio.hpp is included before windows.h. +#include <boost/asio.hpp> +#include <boost/test/unit_test.hpp> + #include "JsonSpiritHeaders.h" #include <libdevcore/CommonIO.h> #include <libethereum/CanonBlockChain.h> -#include <boost/test/unit_test.hpp> #include "TestHelper.h" using namespace std; diff --git a/hexPrefix.cpp b/hexPrefix.cpp index 551983db..c96e9e98 100644 --- a/hexPrefix.cpp +++ b/hexPrefix.cpp @@ -21,11 +21,12 @@ */ #include <fstream> +#include <boost/asio.hpp> +#include <boost/test/unit_test.hpp> #include "JsonSpiritHeaders.h" #include <libdevcore/Log.h> #include <libdevcore/CommonIO.h> #include <libdevcrypto/TrieCommon.h> -#include <boost/test/unit_test.hpp> #include "TestHelper.h" using namespace std; @@ -19,6 +19,7 @@ * @date 2014 */ +#include <boost/asio.hpp> #include <boost/test/unit_test.hpp> #include <libdevcore/Worker.h> #include <libdevcrypto/Common.h> @@ -22,11 +22,12 @@ #include <fstream> #include <sstream> +#include <boost/asio.hpp> +#include <boost/test/unit_test.hpp> #include <libdevcore/Log.h> #include <libdevcore/RLP.h> #include <libdevcore/Common.h> #include <libdevcore/CommonIO.h> -#include <boost/test/unit_test.hpp> #include <algorithm> #include "JsonSpiritHeaders.h" #include "TestHelper.h" @@ -20,6 +20,7 @@ * State test functions. */ +#include <boost/asio.hpp> #include <boost/filesystem/operations.hpp> #include <boost/test/unit_test.hpp> #include "JsonSpiritHeaders.h" @@ -22,12 +22,13 @@ #include <fstream> #include <random> +#include <boost/asio.hpp> +#include <boost/test/unit_test.hpp> #include "JsonSpiritHeaders.h" #include <libdevcore/CommonIO.h> #include <libdevcrypto/TrieDB.h> #include "TrieHash.h" #include "MemTrie.h" -#include <boost/test/unit_test.hpp> #include "TestHelper.h" using namespace std; @@ -21,6 +21,7 @@ */ #include <chrono> +#include <boost/asio.hpp> #include <boost/filesystem.hpp> #include <libethereum/Executive.h> #include <libevm/VMFactory.h> @@ -25,6 +25,7 @@ along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. #include <fstream> #include <cstdint> +#include <boost/asio.hpp> #include <boost/test/unit_test.hpp> #include <json_spirit/json_spirit.h> #include <libdevcore/Log.h> |