You may want to just put those includes inside an '#ifdef MIPS_DEBUG_DISAS' instead of removing them.
Although I suppose we could just add back the minimum needed along with the patches to fix the compile when MIPS_DEBUG_DISAS is defined. -----Original Message----- From: qemu-devel-bounces+ericj=mips....@nongnu.org [mailto:qemu-devel-bounces+ericj=mips....@nongnu.org] On Behalf Of Stefan Weil Sent: Tuesday, February 28, 2012 1:47 PM To: Anthony Liguori Cc: Stefan Weil; qemu-devel@nongnu.org; Aurelien Jarno Subject: [Qemu-devel] [PATCH 09/15] target-mips: Clean includes Remove some include statements which are not needed. Cc: Aurelien Jarno <aurel...@aurel32.net> Signed-off-by: Stefan Weil <s...@weilnetz.de> --- target-mips/translate.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..8361d88 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -20,16 +20,9 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include <stdarg.h> -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <inttypes.h> - #include "cpu.h" #include "disas.h" #include "tcg-op.h" -#include "qemu-common.h" #include "helper.h" #define GEN_HELPER 1 -- 1.7.9