Received: from eggs.gnu.org ([208.118.235.92]:38088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4eJZ-0004bD-49 for qemu-devel@nongnu.org; Mon, 05 Mar 2012 15:15:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4eJX-0005we-BH for qemu-devel@nongnu.org; Mon, 05 Mar 2012 15:15:24 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:55349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4eJX-0005wL-56 for qemu-devel@nongnu.org; Mon, 05 Mar 2012 15:15:23 -0500 From: Stefan Weil Date: Mon, 5 Mar 2012 21:15:19 +0100 Message-Id: <1330978519-7460-1-git-send-email-sw@weilnetz.de> In-Reply-To: References: Subject: [Qemu-devel] [PATCH] cache-utils: Add missing include file for uintptr_t List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , Stefan Weil , Alexander Graf Commit 021ecd8b9db37927059f5d3234b51ed766706437 breaks the build for PPC hosts because it uses uintptr_t without the necessary include file. uintptr_t is defined in stdint.h, so add this include. Cc: Alexander Graf Signed-off-by: Stefan Weil --- Hi Alex, could you please test whether my patch fixes the build problem? Thanks, Stefan cache-utils.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/cache-utils.h b/cache-utils.h index 04a6e2e..2c57f78 100644 --- a/cache-utils.h +++ b/cache-utils.h @@ -2,6 +2,9 @@ #define QEMU_CACHE_UTILS_H #if defined(_ARCH_PPC) + +#include /* uintptr_t */ + struct qemu_cache_conf { unsigned long dcache_bsize; unsigned long icache_bsize; -- 1.7.9