aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-08-28 01:23:13 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-08-28 01:52:22 +0200
commitd2d6f708e486caff1b53b6e75a577db794514604 (patch)
treecf7e3936ccf026b62e458496d750eea82566338f
parentd1062e32fa66db44d0302bbff9d5634f5c698155 (diff)
Fix build with DEBUG_LOCKORDER
Fixes #4771
-rw-r--r--src/sync.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sync.cpp b/src/sync.cpp
index e624a9ee84..066c1ca744 100644
--- a/src/sync.cpp
+++ b/src/sync.cpp
@@ -5,8 +5,11 @@
#include "sync.h"
#include "util.h"
+#include "utilstrencodings.h"
#include <boost/foreach.hpp>
+#include <boost/thread.hpp>
+#include <stdio.h>
#ifdef DEBUG_LOCKCONTENTION
void PrintLockContention(const char* pszName, const char* pszFile, int nLine)