summaryrefslogtreecommitdiff
path: root/cache-utils.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-03-05 21:15:19 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-03-11 11:25:19 +0000
commite04b28996110bd6acfc059e9f2c8c5aba5119a46 (patch)
treeb67303aa990b98bc46f379fd487a0e5c5e209338 /cache-utils.h
parent250b086efbf25301a8dc34c3d557c163d7ff14b2 (diff)
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 <agraf@suse.de> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cache-utils.h')
-rw-r--r--cache-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache-utils.h b/cache-utils.h
index 04a6e2e9c9..2c57f78fc1 100644
--- a/cache-utils.h
+++ b/cache-utils.h
@@ -2,6 +2,9 @@
#define QEMU_CACHE_UTILS_H
#if defined(_ARCH_PPC)
+
+#include <stdint.h> /* uintptr_t */
+
struct qemu_cache_conf {
unsigned long dcache_bsize;
unsigned long icache_bsize;