char: headers clean-up

Those could probably be squashed with earlier patches, however I
couldn't easily identify them, test them or check if there are still
necessary on various platforms.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Marc-André Lureau 2016-12-12 20:22:24 +03:00
parent 6aa0f0c900
commit 213dcb060f
6 changed files with 5 additions and 44 deletions

View File

@ -26,54 +26,16 @@
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "sysemu/block-backend.h" #include "qemu/config-file.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/timer.h"
#include "sysemu/char.h" #include "sysemu/char.h"
#include "hw/usb.h"
#include "qmp-commands.h" #include "qmp-commands.h"
#include "qapi/clone-visitor.h"
#include "qapi-visit.h" #include "qapi-visit.h"
#include "qemu/base64.h"
#include "io/channel-socket.h"
#include "io/channel-tls.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "qemu/help_option.h" #include "qemu/help_option.h"
#include <zlib.h>
#ifndef _WIN32
#include <sys/times.h>
#include <sys/wait.h>
#include <sys/ioctl.h>
#include <sys/resource.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/select.h>
#ifdef __sun__
#include <sys/ethernet.h>
#include <sys/sockio.h>
#include <netinet/arp.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h> // must come after ip.h
#include <netinet/udp.h>
#include <netinet/tcp.h>
#endif
#endif
#include "qemu/sockets.h"
#include "ui/qemu-spice.h"
#include "char-mux.h" #include "char-mux.h"
#include "char-io.h" #include "char-io.h"
#ifdef _WIN32
#include "char-win.h"
#endif
#include "char-parallel.h" #include "char-parallel.h"
#include "char-serial.h" #include "char-serial.h"

1
hmp.c
View File

@ -19,6 +19,7 @@
#include "net/eth.h" #include "net/eth.h"
#include "sysemu/char.h" #include "sysemu/char.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "qemu/config-file.h"
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "qmp-commands.h" #include "qmp-commands.h"

View File

@ -2,12 +2,7 @@
#define QEMU_CHAR_H #define QEMU_CHAR_H
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/queue.h"
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/config-file.h"
#include "block/aio.h"
#include "qapi/qmp/qobject.h"
#include "qapi/qmp/qstring.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/bitmap.h" #include "qemu/bitmap.h"
#include "qom/object.h" #include "qom/object.h"

View File

@ -40,6 +40,7 @@
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "sysemu/numa.h" #include "sysemu/numa.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "qemu/config-file.h"
#include "qemu/readline.h" #include "qemu/readline.h"
#include "ui/console.h" #include "ui/console.h"
#include "ui/input.h" #include "ui/input.h"

1
qmp.c
View File

@ -18,6 +18,7 @@
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "qemu/config-file.h"
#include "qemu/uuid.h" #include "qemu/uuid.h"
#include "qmp-commands.h" #include "qmp-commands.h"
#include "sysemu/char.h" #include "sysemu/char.h"

View File

@ -12,6 +12,7 @@
#include "libqtest.h" #include "libqtest.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/config-file.h"
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/range.h" #include "qemu/range.h"
#include "qemu/sockets.h" #include "qemu/sockets.h"