aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-08-11 10:17:21 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-08-11 10:17:21 +0200
commit0a76546ae973241259aa5019e0d27758f86ef891 (patch)
tree2b2fd48e1a1c18cf4f2d8fb6ad8ccec812779532 /src/serialize.h
parentb0849613bf02b61774b23804c8feed54aa88474a (diff)
parentc648b589bec6494551d300b335af88d6b194cf82 (diff)
Merge branch 'master' of https://github.com/bitcoin/bitcoin
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 857d0468d1..367e849b55 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -35,6 +35,7 @@ typedef unsigned long long uint64;
// Note that VirtualLock does not provide this as a guarantee on Windows,
// but, in practice, memory that has been VirtualLock'd almost never gets written to
// the pagefile except in rare circumstances where memory is extremely low.
+#include <windows.h>
#define mlock(p, n) VirtualLock((p), (n));
#define munlock(p, n) VirtualUnlock((p), (n));
#else