Add missing include to serialize.h
authorMatt Corallo <matt@bluematt.me>
Sun, 31 Jul 2011 01:14:25 +0000 (03:14 +0200)
committerGavin Andresen <gavinandresen@gmail.com>
Mon, 8 Aug 2011 18:31:08 +0000 (14:31 -0400)
src/serialize.h

index cb3a3ea..c2bfa27 100644 (file)
@@ -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