mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Include monitor/monitor.h exactly where needed
In particular, don't include it into headers. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
cc7a8ea740
commit
a0b1a66ea3
30 changed files with 5 additions and 29 deletions
|
@ -5,7 +5,7 @@
|
|||
#include "qom/object.h"
|
||||
#include "qapi/qmp/qdict.h"
|
||||
#include "qemu/notify.h"
|
||||
#include "monitor/monitor.h"
|
||||
#include "qemu/typedefs.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
#include "qemu/option.h"
|
||||
#include "qemu/config-file.h"
|
||||
#include "monitor/monitor.h"
|
||||
|
||||
extern int using_spice;
|
||||
|
||||
|
@ -54,7 +53,6 @@ static inline CharDriverState *qemu_chr_open_spice_port(const char *name)
|
|||
#endif
|
||||
|
||||
#else /* CONFIG_SPICE */
|
||||
#include "monitor/monitor.h"
|
||||
|
||||
#define using_spice 0
|
||||
#define spice_displays 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue