aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheuni <theuni-nospam@xbmc.org>2013-06-13 23:39:54 -0400
committertheuni <theuni-nospam@xbmc.org>2013-06-13 23:40:59 -0400
commitf2763d6d60f64447d24d6af806e25e8c684d3e3d (patch)
tree079df60d5afe6ad1fb9e778f4e0b49b13cf7a03a
parentd1020b780a1493c6a709f70756b2af54a7126f40 (diff)
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 2272ed02f4..ae33fb4ed4 100644
--- a/src/util.h
+++ b/src/util.h
@@ -20,6 +20,7 @@
#include <vector>
#include <string>
+#include <boost/version.hpp>
#include <boost/thread.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>