diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-08 16:26:59 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-08 16:26:59 +0000 |
commit | 49dc768d4c579298d56777348422ebdca565a3ef (patch) | |
tree | f3030aa5cbb079c697644c1fad5783e2d5e95c04 /block-raw-win32.c | |
parent | 2734c7037ec7bf2e43576a70491718afbc9b137f (diff) |
Fix windows build and clean up use of <windows.h>
We want to globally define WIN_LEAN_AND_MEAN and WINVER to particular values so
let's do it in OS_CFLAGS.
Then, we can pepper in windows.h includes where using #includes that require it.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6783 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-raw-win32.c')
-rw-r--r-- | block-raw-win32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block-raw-win32.c b/block-raw-win32.c index 19fa80dd76..6387b09593 100644 --- a/block-raw-win32.c +++ b/block-raw-win32.c @@ -25,6 +25,7 @@ #include "qemu-timer.h" #include "block_int.h" #include <assert.h> +#include <windows.h> #include <winioctl.h> //#define WIN32_AIO |