]> Git Repo - qemu.git/commitdiff
cache-utils: Add missing include file for uintptr_t
authorStefan Weil <[email protected]>
Mon, 5 Mar 2012 20:15:19 +0000 (21:15 +0100)
committerBlue Swirl <[email protected]>
Sun, 11 Mar 2012 11:25:19 +0000 (11:25 +0000)
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 <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
cache-utils.h

index 04a6e2e9c9b2741954cdc7cc0a50538d6c74929f..2c57f78fc19984c0ecd79d87b0ce1cee3fa34312 100644 (file)
@@ -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;
This page took 0.025624 seconds and 4 git commands to generate.