Commit 4fddf62a74c26f8da3c5ee61600e4d61052b0610
1 parent
f60d39bc
Use WIN32_LEAN_AND_MEAN, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3832 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
10 changed files
with
12 additions
and
3 deletions
audio/dsoundaudio.c
exec.c
kqemu.c
osdep.c
qemu-common.h
qemu-img.c
qemu_socket.h
slirp/slirp.h
tap-win32.c
vl.c
| ... | ... | @@ -109,7 +109,7 @@ int inet_aton(const char *cp, struct in_addr *ia); |
| 109 | 109 | #ifdef _WIN32 |
| 110 | 110 | #include <malloc.h> |
| 111 | 111 | #include <sys/timeb.h> |
| 112 | -#include <windows.h> | |
| 112 | +#include <mmsystem.h> | |
| 113 | 113 | #define getopt_long_only getopt_long |
| 114 | 114 | #define memalign(align, size) malloc(size) |
| 115 | 115 | #endif |
| ... | ... | @@ -8966,7 +8966,7 @@ int main(int argc, char **argv) |
| 8966 | 8966 | s->down_script[0]) |
| 8967 | 8967 | launch_script(s->down_script, ifname, s->fd); |
| 8968 | 8968 | } |
| 8969 | - } | |
| 8969 | + } | |
| 8970 | 8970 | } |
| 8971 | 8971 | #endif |
| 8972 | 8972 | return 0; | ... | ... |