summaryrefslogtreecommitdiff
path: root/cache-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'cache-utils.h')
-rw-r--r--cache-utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cache-utils.h b/cache-utils.h
index 0598b96eba..19b24ab4e1 100644
--- a/cache-utils.h
+++ b/cache-utils.h
@@ -1,7 +1,9 @@
#ifndef QEMU_CACHE_UTILS_H
#define QEMU_CACHE_UTILS_H
-#ifdef __powerpc__
+#include "config-host.h"
+
+#ifdef HOST_PPC
struct qemu_cache_conf {
unsigned long dcache_bsize;
unsigned long icache_bsize;