« Previous | Next » 

Revision ea44910e

IDea44910eefc3661af6b80442858102a4f8cd8034

Added by Alexey Kardashevskiy about 11 years ago

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 <>
Reviewed-by: Stefan Hajnoczi <>
Reviewed-by: David Gibson <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences