Received: from eggs.gnu.org ([208.118.235.92]:57465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Scd25-0001ow-RF for qemu-devel@nongnu.org; Thu, 07 Jun 2012 09:45:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Scd1u-0004YY-N8 for qemu-devel@nongnu.org; Thu, 07 Jun 2012 09:45:49 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:55210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Scd1u-0004YH-GQ for qemu-devel@nongnu.org; Thu, 07 Jun 2012 09:45:38 -0400 From: Stefan Weil Date: Thu, 7 Jun 2012 15:45:35 +0200 Message-Id: <1339076735-19796-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] w32: Fix broken build (missing include file) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Stefan Weil , qemu-devel@nongnu.org, Luiz Capitulino 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 --- dump.* use GPL2 instead of GPL2+. Please fix that! Regards, Stefan Weil dump.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dump.c b/dump.c index 0ca14f8..f44ce47 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" -- 1.7.10