]> git.proxmox.com Git - qemu.git/blobdiff - include/migration/vmstate.h
linux-user: Fix compilation failure
[qemu.git] / include / migration / vmstate.h
index ebc4d09141828dccd658bf3f356ab37f2c6c4b03..1c31b5d6fb5ae5b8c04ab273fcabb25ef5c07e48 100644 (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);