diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-03-05 21:15:19 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-03-11 11:25:19 +0000 |
commit | e04b28996110bd6acfc059e9f2c8c5aba5119a46 (patch) | |
tree | b67303aa990b98bc46f379fd487a0e5c5e209338 | |
parent | 250b086efbf25301a8dc34c3d557c163d7ff14b2 (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>
-rw-r--r-- | cache-utils.h | 3 |
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; |