git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8a62fec
)
Add missing include to serialize.h
author
Matt Corallo
<matt@bluematt.me>
Sun, 31 Jul 2011 01:14:25 +0000 (
03:14
+0200)
committer
Gavin Andresen
<gavinandresen@gmail.com>
Mon, 8 Aug 2011 18:31:08 +0000 (14:31 -0400)
src/serialize.h
patch
|
blob
|
history
diff --git
a/src/serialize.h
b/src/serialize.h
index
cb3a3ea
..
c2bfa27
100644
(file)
--- 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