Received: from eggs.gnu.org ([140.186.70.92]:36874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3xu-0006U7-8y for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt3xq-0000JG-U7 for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:10 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:40243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3xq-0000Ie-JE for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:06 -0500 From: Stefan Weil Date: Thu, 2 Feb 2012 22:12:55 +0100 Message-Id: <1328217177-32745-14-git-send-email-sw@weilnetz.de> In-Reply-To: <1328217177-32745-1-git-send-email-sw@weilnetz.de> References: <1328217177-32745-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 13/15] target-unicore32: Clean includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h. Signed-off-by: Stefan Weil --- target-unicore32/cpu.h | 2 ++ target-unicore32/helper.c | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h index b4e72cf..f725634 100644 --- a/target-unicore32/cpu.h +++ b/target-unicore32/cpu.h @@ -20,6 +20,8 @@ #define CPUState struct CPUState_UniCore32 +#include "config.h" +#include "qemu-common.h" #include "cpu-defs.h" #include "softfloat.h" diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c index b5b1cb7..ee7f82b 100644 --- a/target-unicore32/helper.c +++ b/target-unicore32/helper.c @@ -5,14 +5,10 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include -#include -#include #include "cpu.h" #include "gdbstub.h" #include "helper.h" -#include "qemu-common.h" #include "host-utils.h" static inline void set_feature(CPUState *env, int feature) -- 1.7.7.3