aboutsummaryrefslogtreecommitdiffstats
path: root/createRandomTest.cpp
diff options
context:
space:
mode:
authorjhuntley <jhuntley@houghtonassociates.com>2015-01-21 23:59:34 +0800
committerjhuntley <jhuntley@houghtonassociates.com>2015-03-05 00:17:46 +0800
commitb6b80b020006e269c877faee85f6664a1cd925a0 (patch)
tree45def170676a389b1b6e9e79edac147a5e458e13 /createRandomTest.cpp
parent26ba1086b82497f9100c0283955c6ea4e742aee0 (diff)
downloaddexon-solidity-b6b80b020006e269c877faee85f6664a1cd925a0.tar.gz
dexon-solidity-b6b80b020006e269c877faee85f6664a1cd925a0.tar.zst
dexon-solidity-b6b80b020006e269c877faee85f6664a1cd925a0.zip
Avoid boost include order issue on windows:
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859 Make sure boost/asio.hpp is included before windows.h.
Diffstat (limited to 'createRandomTest.cpp')
-rw-r--r--createRandomTest.cpp1
1 files changed, 1 insertions, 0 deletions
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"