aboutsummaryrefslogtreecommitdiffstats
path: root/net.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 /net.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 'net.cpp')
-rw-r--r--net.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.cpp b/net.cpp
index 5039c543..f842ff1a 100644
--- a/net.cpp
+++ b/net.cpp
@@ -19,6 +19,7 @@
* @date 2014
*/
+#include <boost/asio.hpp>
#include <boost/test/unit_test.hpp>
#include <libdevcore/Worker.h>
#include <libdevcrypto/Common.h>