summary refs log tree commit diff stats
path: root/vl.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-17 04:42:29 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-17 04:42:29 +0000
commit4fddf62a74c26f8da3c5ee61600e4d61052b0610 (patch)
treee4127ee9c9531e070614267f4c84d62452720baa /vl.c
parentf60d39bc4d4f0cc7bbbba172b05e24e1c1a36bc3 (diff)
downloadfocaccia-qemu-4fddf62a74c26f8da3c5ee61600e4d61052b0610.tar.gz
focaccia-qemu-4fddf62a74c26f8da3c5ee61600e4d61052b0610.zip
Use WIN32_LEAN_AND_MEAN, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3832 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index d914cb40e2..e5b4e06cfe 100644
--- a/vl.c
+++ b/vl.c
@@ -109,7 +109,7 @@ int inet_aton(const char *cp, struct in_addr *ia);
 #ifdef _WIN32
 #include <malloc.h>
 #include <sys/timeb.h>
-#include <windows.h>
+#include <mmsystem.h>
 #define getopt_long_only getopt_long
 #define memalign(align, size) malloc(size)
 #endif
@@ -8966,7 +8966,7 @@ int main(int argc, char **argv)
                     s->down_script[0])
                     launch_script(s->down_script, ifname, s->fd);
             }
-    }
+        }
     }
 #endif
     return 0;