]> git.proxmox.com Git - mirror_qemu.git/commitdiff
cache-utils: Add missing include file for uintptr_t
authorStefan Weil <sw@weilnetz.de>
Mon, 5 Mar 2012 20:15:19 +0000 (21:15 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
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 <agraf@suse.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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;