From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT9a3-0006Wa-K4 for qemu-devel@nongnu.org; Fri, 19 Apr 2013 07:34:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UT9Zy-0003Na-O4 for qemu-devel@nongnu.org; Fri, 19 Apr 2013 07:34:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT9Zy-0003NN-Gc for qemu-devel@nongnu.org; Fri, 19 Apr 2013 07:34:10 -0400 From: Stefan Hajnoczi Date: Fri, 19 Apr 2013 13:33:54 +0200 Message-Id: <1366371241-23430-2-git-send-email-stefanha@redhat.com> In-Reply-To: <1366371241-23430-1-git-send-email-stefanha@redhat.com> References: <1366371241-23430-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 1/8] bswap: fix compiler warning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , Anthony Liguori , Stefan Hajnoczi From: Alexey Kardashevskiy The bswap functions use memcpy but the bswap.h header itself does not see= m to include it in some configuration such as cross compiling for powerpc64 on x86_64 machine. The patch explicitly includes string.h. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Stefan Hajnoczi Reviewed-by: David Gibson Reviewed-by: Andreas F=C3=A4rber Signed-off-by: Stefan Hajnoczi --- include/qemu/bswap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h index d3af35d..14a5f65 100644 --- a/include/qemu/bswap.h +++ b/include/qemu/bswap.h @@ -4,6 +4,7 @@ #include "config-host.h" #include #include +#include #include "fpu/softfloat.h" =20 #ifdef CONFIG_MACHINE_BSWAP_H --=20 1.8.1.4