aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-18 18:46:01 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-18 18:46:01 +0200
commit0eeb4f5d5b4c6b634dea4a5ec5b2e6c322c9230e (patch)
tree8f7afc6e724d36561b3cb583b40ab2c34a36261e /src/util.cpp
parent245ab4d0ac50095712abd6518b2fc6945d5e24a9 (diff)
update bitcoin core from git (eeac8727bc0a951631bd)
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index fd4a9e459c..2c1efc4042 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -2,6 +2,13 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include "headers.h"
+#include "strlcpy.h"
+#include <boost/program_options/detail/config_file.hpp>
+#include <boost/program_options/parsers.hpp>
+#include <boost/filesystem/fstream.hpp>
+#include <boost/interprocess/sync/interprocess_mutex.hpp>
+#include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
+#include <boost/foreach.hpp>
using namespace std;
using namespace boost;
@@ -893,8 +900,10 @@ string FormatVersion(int nVersion)
string FormatFullVersion()
{
string s = FormatVersion(VERSION) + pszSubVer;
- if (VERSION_IS_BETA)
- s += _("-beta");
+ if (VERSION_IS_BETA) {
+ s += "-";
+ s += _("beta");
+ }
return s;
}