[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-trivial] [PATCH v2] bswap: fix compiler warning
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-ppc] [Qemu-trivial] [PATCH v2] bswap: fix compiler warning |
Date: |
Fri, 19 Apr 2013 11:28:44 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Apr 15, 2013 at 11:47:56AM +1000, Alexey Kardashevskiy wrote:
> The bswap functions use memcpy but the bswap.h header itself does not seem to
> include it in some configuration such as cross compiling for powerpc64
> on x86_64 machine.
>
> The patch explicitly includes string.h.
>
> v2:
> * #include statement moved to the right place
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
> ---
> include/qemu/bswap.h | 1 +
> 1 file changed, 1 insertion(+)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan