Patchwork [2/2] xen: add missing include

login
register
mail settings
Submitter Paolo Bonzini
Date Dec. 20, 2012, 11:29 a.m.
Message ID <1356002960-32595-3-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/207652/
State New
Headers show

Comments

Paolo Bonzini - Dec. 20, 2012, 11:29 a.m.
xen-all needs to access CharDeviceState's filename field, so
it needs to include char/char.h.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 xen-all.c | 1 +
 1 file changed, 1 insertion(+)
Andreas Färber - Dec. 22, 2012, 12:39 a.m.
Am 20.12.2012 12:29, schrieb Paolo Bonzini:
> xen-all needs to access CharDeviceState's filename field, so
> it needs to include char/char.h.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Tested-by: Andreas Färber <afaerber@suse.de>

Andreas

Patch

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"