summary refs log tree commit diff stats
path: root/cache-utils.h
diff options
context:
space:
mode:
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;