Thanks, applied. On Mon, Mar 5, 2012 at 20:15, Stefan Weil <s...@weilnetz.de> wrote: > 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 <ag...@suse.de> > Signed-off-by: Stefan Weil <s...@weilnetz.de> > --- > > Hi Alex, > > could you please test whether my patch fixes the build problem? > > Thanks, > Stefan > > > cache-utils.h | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/cache-utils.h b/cache-utils.h > index 04a6e2e..2c57f78 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; > -- > 1.7.9 >
- [Qemu-devel] [PATCH 0/6] w64: Improve compilation with MinG... Stefan Weil
- [Qemu-devel] [PATCH 2/6] tcg: Rearrange definitions an... Stefan Weil
- [Qemu-devel] [PATCH 5/6] cache-utils: Change data type... Stefan Weil
- Re: [Qemu-devel] [PATCH 5/6] cache-utils: Change d... Alexander Graf
- Re: [Qemu-devel] [PATCH 5/6] cache-utils: Change d... Alexander Graf
- Re: [Qemu-devel] [PATCH 5/6] cache-utils: Chan... Stefan Weil
- Re: [Qemu-devel] [PATCH 5/6] cache-utils: ... Alexander Graf
- [Qemu-devel] [PATCH] cache-utils: Add... Stefan Weil
- Re: [Qemu-devel] [PATCH] cache-ut... Alexander Graf
- Re: [Qemu-devel] [PATCH] cache-ut... Blue Swirl
- [Qemu-devel] [PATCH 4/6] w64: Change data type of para... Stefan Weil
- [Qemu-devel] [PATCH 3/6] w64: Fix data type of paramet... Stefan Weil
- [Qemu-devel] [PATCH 6/6] w64: fix type casts when call... Stefan Weil
- [Qemu-devel] [PATCH 1/6] w64: Fix size of ram_addr_t Stefan Weil
- Re: [Qemu-devel] [PATCH 0/6] w64: Improve compilation ... Blue Swirl