summaryrefslogtreecommitdiffstats
path: root/migration/savevm.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2018-05-03 21:50:27 +0200
committerMichael S. Tsirkin2018-06-01 18:20:37 +0200
commit83ee768d6247bf121b5b8f4b7580fbbc1281d473 (patch)
tree8d325530569db1e3ae37651b38e5c2706e2e81df /migration/savevm.c
parenthppa: use local path for local headers (diff)
downloadqemu-83ee768d6247bf121b5b8f4b7580fbbc1281d473.tar.gz
qemu-83ee768d6247bf121b5b8f4b7580fbbc1281d473.tar.xz
qemu-83ee768d6247bf121b5b8f4b7580fbbc1281d473.zip
migration: drop an unused include
In the vmstate.h file, we just need a struct name. Use a forward declaration instead of an include, then adjust the one affected .c file to include the file that is no longer implicit from the header. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'migration/savevm.c')
-rw-r--r--migration/savevm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/savevm.c b/migration/savevm.c
index 4251125831..da724c52f2 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -55,6 +55,7 @@
#include "io/channel-buffer.h"
#include "io/channel-file.h"
#include "sysemu/replay.h"
+#include "qjson.h"
#ifndef ETH_P_RARP
#define ETH_P_RARP 0x8035