summaryrefslogtreecommitdiff
path: root/lib/profile/WindowsMMap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profile/WindowsMMap.c')
-rw-r--r--lib/profile/WindowsMMap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/profile/WindowsMMap.c b/lib/profile/WindowsMMap.c
index 1f7342050032..f81d7da5389e 100644
--- a/lib/profile/WindowsMMap.c
+++ b/lib/profile/WindowsMMap.c
@@ -20,6 +20,9 @@
#include "WindowsMMap.h"
#include "InstrProfiling.h"
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
#ifdef __USE_FILE_OFFSET64
# define DWORD_HI(x) (x >> 32)
# define DWORD_LO(x) ((x) & 0xffffffff)