xen-all needs to access CharDeviceState's filename field, so it needs to include char/char.h.
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- xen-all.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen-all.c b/xen-all.c index 50edaec..19bcfd1 100644 --- a/xen-all.c +++ b/xen-all.c @@ -16,6 +16,7 @@ #include "hw/xen_backend.h" #include "qmp-commands.h" +#include "char/char.h" #include "qemu/range.h" #include "sysemu/xen-mapcache.h" #include "trace.h" -- 1.8.0.2