From: Stefan Weil Date: Thu, 7 Jun 2012 13:45:35 +0000 (+0200) Subject: w32: Fix broken build (missing include file) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bbbc0e244e35cdc159f559e9d47e5941a1b35745;p=qemu.git 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 Signed-off-by: Blue Swirl --- 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 #include "elf.h" -#include -#include #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"