w32: Fix broken build (missing include file)
authorStefan Weil <sw@weilnetz.de>
Thu, 7 Jun 2012 13:45:35 +0000 (15:45 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 9 Jun 2012 10:41:43 +0000 (10:41 +0000)
dump.c was recently added to the code. It unconditionally
includes sys/procfs which is not available with MinGW (w32, w64).

It looks like this file is not needed at all (tested on Linux),
so I removed it completely.

Some other include statements are also redundant because they are
already included in qemu-common, therefore they were removed, too.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
dump.c

diff --git a/dump.c b/dump.c
index f5c7283..4412d7a 100644 (file)
--- a/dump.c
+++ b/dump.c
  */
 
 #include "qemu-common.h"
-#include <unistd.h>
 #include "elf.h"
-#include <sys/procfs.h>
-#include <glib.h>
 #include "cpu.h"
 #include "cpu-all.h"
 #include "targphys.h"
@@ -23,7 +20,6 @@
 #include "kvm.h"
 #include "dump.h"
 #include "sysemu.h"
-#include "bswap.h"
 #include "memory_mapping.h"
 #include "error.h"
 #include "qmp-commands.h"