linux-user: Fix compilation failure

Fix compilation failures for linux-user targets following recent
migration related commits bd2fa51fcd and 43487c67.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1372362818-4740-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Peter Maydell 2013-06-27 20:53:38 +01:00 committed by Anthony Liguori
parent c394ace828
commit ec3f8c9913
3 changed files with 3 additions and 2 deletions

View file

@ -26,7 +26,9 @@
#ifndef QEMU_VMSTATE_H
#define QEMU_VMSTATE_H 1
#ifndef CONFIG_USER_ONLY
#include <migration/qemu-file.h>
#endif
typedef void SaveStateHandler(QEMUFile *f, void *opaque);
typedef int LoadStateHandler(QEMUFile *f, void *opaque, int version_id);