summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--include/qemu/bswap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index d3af35d1d9..14a5f657ce 100644
--- a/include/qemu/bswap.h
+++ b/include/qemu/bswap.h
@@ -4,6 +4,7 @@
 #include "config-host.h"
 #include <inttypes.h>
 #include <limits.h>
+#include <string.h>
 #include "fpu/softfloat.h"
 
 #ifdef CONFIG_MACHINE_BSWAP_H