aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-06-07 15:45:35 +0200
committerBlue Swirl <blauwirbel@gmail.com>2012-06-09 10:41:43 +0000
commitbbbc0e244e35cdc159f559e9d47e5941a1b35745 (patch)
treee5147282b2cb3d97668659e1b91d2c0f3c26bda9
parent3294ce1893620aecf0d2a693c7177a0f84129422 (diff)
w32: Fix broken build (missing include file)
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>
-rw-r--r--dump.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dump.c b/dump.c
index f5c72833a3..4412d7a3ba 100644
--- a/dump.c
+++ b/dump.c
@@ -12,10 +12,7 @@
*/
#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"