diff options
| author | theuni <[email protected]> | 2013-06-13 23:39:54 -0400 |
|---|---|---|
| committer | theuni <[email protected]> | 2013-06-13 23:40:59 -0400 |
| commit | f2763d6d60f64447d24d6af806e25e8c684d3e3d (patch) | |
| tree | 079df60d5afe6ad1fb9e778f4e0b49b13cf7a03a /src | |
| parent | Merge pull request #2553 from Diapolo/threads (diff) | |
| download | discoin-f2763d6d60f64447d24d6af806e25e8c684d3e3d.tar.xz discoin-f2763d6d60f64447d24d6af806e25e8c684d3e3d.zip | |
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 2272ed02f..ae33fb4ed 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> |