aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2011-07-31 03:14:25 +0200
committerGavin Andresen <gavinandresen@gmail.com>2011-08-08 14:31:08 -0400
commit02962ba848d1f7d58fe0f12a783400fc15e7260b (patch)
tree2fe330101bc60ce7244ad4e8f2a1761cd46be7de /src/serialize.h
parent8a62fec3ee03d3351acceb9d719157cfac2fb726 (diff)
downloadbitcoin-02962ba848d1f7d58fe0f12a783400fc15e7260b.tar.xz
Add missing include to serialize.h
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 cb3a3ea03c..c2bfa2780e 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -34,6 +34,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