From e04b28996110bd6acfc059e9f2c8c5aba5119a46 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 5 Mar 2012 21:15:19 +0100 Subject: cache-utils: Add missing include file for uintptr_t 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 Signed-off-by: Blue Swirl --- cache-utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cache-utils.h') 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; -- cgit v1.1