aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheuni <theuni-nospam@xbmc.org>2013-06-13 23:39:54 -0400
committerGavin Andresen <gavinandresen@gmail.com>2013-08-21 08:49:00 +1000
commit708c75c0eeafb6363936233e6042e9227038c39f (patch)
treea632fdf8837cbbe26429918bb4959d5c30adb850
parentac7c9600671322847fcce2089d43736112ff3dc2 (diff)
downloadbitcoin-708c75c0eeafb6363936233e6042e9227038c39f.tar.xz
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.
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 9b7e2573da..4ff128bb42 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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>