Use WIN32_LEAN_AND_MEAN, by Stefan Weil.
[qemu] / osdep.c
diff --git a/osdep.c b/osdep.c
index 00c19ce..8191b1f 100644 (file)
--- a/osdep.c
+++ b/osdep.c
@@ -37,6 +37,7 @@
 #include "sysemu.h"
 
 #ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #elif defined(_BSD)
 #include <stdlib.h>