diff options
author | theuni <theuni-nospam@xbmc.org> | 2013-06-13 23:39:54 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-08-21 08:49:00 +1000 |
commit | 708c75c0eeafb6363936233e6042e9227038c39f (patch) | |
tree | a632fdf8837cbbe26429918bb4959d5c30adb850 /src | |
parent | ac7c9600671322847fcce2089d43736112ff3dc2 (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.
Diffstat (limited to 'src')
-rw-r--r-- | src/util.h | 1 |
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> |