[2/2] xen: add missing include

Submitted by Paolo Bonzini on Dec. 20, 2012, 11:29 a.m.

Details

Message ID 1356002960-32595-3-git-send-email-pbonzini@redhat.com
State New
Headers show

Commit Message

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(+)

Comments

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 hide | download patch | download mbox

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"