aboutsummaryrefslogtreecommitdiff
path: root/include/hw/virtio/virtio.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2013-04-15 11:47:56 +1000
committerStefan Hajnoczi <stefanha@redhat.com>2013-04-19 11:28:22 +0200
commitea44910eefc3661af6b80442858102a4f8cd8034 (patch)
tree6811113e9bd87a00b994b64fece18d32478a4db6 /include/hw/virtio/virtio.h
parent09dada400328d75daf79e3eca1e48e024fec148d (diff)
bswap: fix compiler warning
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. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio.h')
0 files changed, 0 insertions, 0 deletions