aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2018-08-29 14:16:07 +0200
committerWladimir J. van der Laan <[email protected]>2018-08-29 14:16:13 +0200
commit2ddce35abcb8249722f0cfecebd7b6ffa2a81bcf (patch)
tree17fe64248a6c580b55b074e473c454cd6a69dcdc /src/init.cpp
parentMerge #14093: tests: Fix accidental trunction from int to bool (diff)
parentadd unicode compatible file_lock for Windows (diff)
downloaddiscoin-2ddce35abcb8249722f0cfecebd7b6ffa2a81bcf.tar.xz
discoin-2ddce35abcb8249722f0cfecebd7b6ffa2a81bcf.zip
Merge #13862: utils: drop boost::interprocess::file_lock
1661a472b8245eb4588fedbf19c9ed07a41e7602 add unicode compatible file_lock for Windows (Chun Kuan Lee) Pull request description: boost::interprocess::file_lock cannot open the files that contain characters which cannot be parsed by the user's code page on Windows. This PR is seperated from #13426 for easier review. Tree-SHA512: e240479cda65958bf6e1319840b83928b2b50da81d99f4f002fb3b62621370bcd4bcfacd2b8c0678c443a650d6ba53d9d12618b591e5bfd67ac14388a18fd822
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 2131a6adc..bd330459f 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -51,13 +51,13 @@
#ifndef WIN32
#include <signal.h>
+#include <sys/stat.h>
#endif
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/bind.hpp>
-#include <boost/interprocess/sync/file_lock.hpp>
#include <boost/thread.hpp>
#include <openssl/crypto.h>