fixed: include boost header as necessary

Without this include, sometimes BOOST_VERSION was defined and sometimes
it was not, depending on which includes came before it. The result was a
random mix of sleep or sleep_for for boost versions >= 1.50.
This commit is contained in:
theuni
2013-06-13 23:39:54 -04:00
committed by Gavin Andresen
parent ac7c960067
commit 708c75c0ee

View File

@@ -22,6 +22,7 @@ typedef int pid_t; /* define for Windows compatibility */
#include <vector>
#include <string>
#include <boost/version.hpp>
#include <boost/thread.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>