Received: from eggs.gnu.org ([208.118.235.92]:56177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sd3RD-000280-5N for qemu-devel@nongnu.org; Fri, 08 Jun 2012 13:57:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sd3RB-0004WE-9W for qemu-devel@nongnu.org; Fri, 08 Jun 2012 13:57:30 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:59027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sd3RB-0004Vr-2q for qemu-devel@nongnu.org; Fri, 08 Jun 2012 13:57:29 -0400 From: Stefan Weil Date: Fri, 8 Jun 2012 19:57:25 +0200 Message-Id: <1339178245-29001-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] dump: Fix build breakage (missing sys/procfs.h) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Paolo Bonzini , qemu-devel@nongnu.org, Stefan Weil sys/procfs is not available everywhere (MingW does not have it). Remove this and more unused or redundant include statements. This fixes the broken build. qerror.h was previously included indirectly. Add an explicit include statement for it because it is needed. Signed-off-by: Stefan Weil --- dump-stub.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/dump-stub.c b/dump-stub.c index 4c8bedb..165c005 100644 --- a/dump-stub.c +++ b/dump-stub.c @@ -12,22 +12,9 @@ */ #include "qemu-common.h" -#include -#include "elf.h" -#include -#include -#include "cpu.h" -#include "cpu-all.h" -#include "targphys.h" -#include "monitor.h" -#include "kvm.h" #include "dump.h" -#include "sysemu.h" -#include "bswap.h" -#include "memory_mapping.h" -#include "error.h" +#include "qerror.h" #include "qmp-commands.h" -#include "gdbstub.h" /* we need this function in hmp.c */ void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin, -- 1.7.10