Fix build with DEBUG_LOCKORDER

Fixes #4771
This commit is contained in:
Wladimir J. van der Laan 2014-08-28 01:23:13 +02:00
parent d1062e32fa
commit d2d6f708e4

View File

@ -5,8 +5,11 @@
#include "sync.h" #include "sync.h"
#include "util.h" #include "util.h"
#include "utilstrencodings.h"
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
#include <boost/thread.hpp>
#include <stdio.h>
#ifdef DEBUG_LOCKCONTENTION #ifdef DEBUG_LOCKCONTENTION
void PrintLockContention(const char* pszName, const char* pszFile, int nLine) void PrintLockContention(const char* pszName, const char* pszFile, int nLine)