Browse Source

all: Clean up includes

Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1454089805-5470-16-git-send-email-peter.maydell@linaro.org
tags/v2.6.0-rc0
Peter Maydell 3 years ago
parent
commit
d38ea87ac5
65 changed files with 66 additions and 101 deletions
  1. 1
    0
      accel.c
  2. 1
    0
      aio-posix.c
  3. 1
    0
      aio-win32.c
  4. 1
    1
      arch_init.c
  5. 1
    0
      async.c
  6. 1
    0
      balloon.c
  7. 1
    3
      block.c
  8. 1
    0
      blockdev-nbd.c
  9. 1
    0
      blockdev.c
  10. 1
    1
      blockjob.c
  11. 1
    0
      bootdevice.c
  12. 1
    1
      bt-host.c
  13. 1
    0
      bt-vhci.c
  14. 1
    0
      device-hotplug.c
  15. 1
    6
      device_tree.c
  16. 1
    2
      disas.c
  17. 1
    0
      dma-helpers.c
  18. 1
    1
      dump.c
  19. 1
    2
      fpu/softfloat.c
  20. 1
    8
      gdbstub.c
  21. 1
    0
      hmp.c
  22. 1
    1
      iohandler.c
  23. 1
    0
      ioport.c
  24. 1
    0
      iothread.c
  25. 1
    2
      kvm-all.c
  26. 1
    0
      kvm-stub.c
  27. 1
    0
      main-loop.c
  28. 1
    1
      memory.c
  29. 1
    0
      memory_mapping.c
  30. 1
    1
      module-common.c
  31. 1
    1
      monitor.c
  32. 1
    0
      nbd/client.c
  33. 1
    0
      nbd/common.c
  34. 1
    0
      nbd/server.c
  35. 1
    0
      numa.c
  36. 1
    5
      os-posix.c
  37. 1
    6
      os-win32.c
  38. 1
    7
      page_cache.c
  39. 1
    0
      qdev-monitor.c
  40. 2
    11
      qemu-bridge-helper.c
  41. 1
    7
      qemu-char.c
  42. 1
    4
      qemu-nbd.c
  43. 1
    1
      qemu-seccomp.c
  44. 1
    0
      qemu-timer.c
  45. 1
    1
      qjson.c
  46. 1
    0
      qmp.c
  47. 1
    0
      qtest.c
  48. 1
    0
      replay/replay-events.c
  49. 1
    0
      replay/replay-input.c
  50. 1
    0
      replay/replay-internal.c
  51. 1
    0
      replay/replay-time.c
  52. 1
    0
      replay/replay.c
  53. 1
    2
      spice-qemu-char.c
  54. 1
    1
      tcg-runtime.c
  55. 1
    1
      tci.c
  56. 1
    1
      thread-pool.c
  57. 1
    3
      thunk.c
  58. 1
    1
      tpm.c
  59. 1
    0
      trace/control.c
  60. 1
    4
      trace/ftrace.c
  61. 1
    0
      trace/qmp.c
  62. 1
    5
      trace/simple.c
  63. 1
    2
      user-exec.c
  64. 1
    0
      util/log.c
  65. 1
    8
      vl.c

+ 1
- 0
accel.c View File

@@ -23,6 +23,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "sysemu/accel.h"
#include "hw/boards.h"
#include "qemu-common.h"

+ 1
- 0
aio-posix.c View File

@@ -13,6 +13,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "block/block.h"
#include "qemu/queue.h"

+ 1
- 0
aio-win32.c View File

@@ -15,6 +15,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "block/block.h"
#include "qemu/queue.h"

+ 1
- 1
arch_init.c View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include <stdint.h>
#include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "sysemu/arch_init.h"
#include "hw/pci/pci.h"

+ 1
- 0
async.c View File

@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "block/aio.h"
#include "block/thread-pool.h"

+ 1
- 0
balloon.c View File

@@ -24,6 +24,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "exec/cpu-common.h"
#include "sysemu/kvm.h"

+ 1
- 3
block.c View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "config-host.h"
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "trace.h"
#include "block/block_int.h"
@@ -42,8 +42,6 @@
#include "block/throttle-groups.h"

#ifdef CONFIG_BSD
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/queue.h>
#ifndef __DragonFly__

+ 1
- 0
blockdev-nbd.c View File

@@ -9,6 +9,7 @@
* later. See the COPYING file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "sysemu/blockdev.h"
#include "sysemu/block-backend.h"
#include "hw/block/block.h"

+ 1
- 0
blockdev.c View File

@@ -30,6 +30,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "sysemu/block-backend.h"
#include "sysemu/blockdev.h"
#include "hw/block/block.h"

+ 1
- 1
blockjob.c View File

@@ -23,7 +23,7 @@
* THE SOFTWARE.
*/

#include "config-host.h"
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "trace.h"
#include "block/block.h"

+ 1
- 0
bootdevice.c View File

@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "qapi/visitor.h"
#include "qemu/error-report.h"

+ 1
- 1
bt-host.c View File

@@ -17,12 +17,12 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/bt.h"
#include "qemu/main-loop.h"

#ifndef _WIN32
# include <errno.h>
# include <sys/ioctl.h>
# include <sys/uio.h>
# ifdef CONFIG_BLUEZ

+ 1
- 0
bt-vhci.c View File

@@ -17,6 +17,7 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/bt.h"
#include "hw/bt.h"

+ 1
- 0
device-hotplug.c View File

@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "sysemu/block-backend.h"

+ 1
- 6
device_tree.c View File

@@ -11,12 +11,7 @@
*
*/

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include "qemu/osdep.h"

#include "qemu-common.h"
#include "qemu/error-report.h"

+ 1
- 2
disas.c View File

@@ -1,9 +1,8 @@
/* General "disassemble this chunk" code. Used for debugging. */
#include "config.h"
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"
#include "elf.h"
#include <errno.h>

#include "cpu.h"
#include "disas/disas.h"

+ 1
- 0
dma-helpers.c View File

@@ -7,6 +7,7 @@
* (GNU GPL), version 2 or later.
*/

#include "qemu/osdep.h"
#include "sysemu/block-backend.h"
#include "sysemu/dma.h"
#include "trace.h"

+ 1
- 1
dump.c View File

@@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "elf.h"
#include "cpu.h"
@@ -22,7 +23,6 @@
#include "sysemu/sysemu.h"
#include "sysemu/memory_mapping.h"
#include "sysemu/cpus.h"
#include "qapi/error.h"
#include "qapi/qmp/qerror.h"
#include "qmp-commands.h"


+ 1
- 2
fpu/softfloat.c View File

@@ -82,12 +82,11 @@ this code that are retained.
/* softfloat (and in particular the code in softfloat-specialize.h) is
* target-dependent and needs the TARGET_* macros.
*/
#include "config.h"
#include "qemu/osdep.h"

#include "fpu/softfloat.h"

/* We only need stdlib for abort() */
#include <stdlib.h>

/*----------------------------------------------------------------------------
| Primitive arithmetic functions, including multi-word arithmetic, and

+ 1
- 8
gdbstub.c View File

@@ -16,16 +16,9 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "qemu/osdep.h"
#include "qemu-common.h"
#ifdef CONFIG_USER_ONLY
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>

#include "qemu.h"
#else

+ 1
- 0
hmp.c View File

@@ -13,6 +13,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/

#include "qemu/osdep.h"
#include "hmp.h"
#include "net/net.h"
#include "net/eth.h"

+ 1
- 1
iohandler.c View File

@@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

#include "config-host.h"
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/queue.h"
#include "block/aio.h"

+ 1
- 0
ioport.c View File

@@ -25,6 +25,7 @@
* splitted out ioport related stuffs from vl.c.
*/

#include "qemu/osdep.h"
#include "exec/ioport.h"
#include "trace.h"
#include "exec/memory.h"

+ 1
- 0
iothread.c View File

@@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "qom/object.h"
#include "qom/object_interfaces.h"
#include "qemu/module.h"

+ 1
- 2
kvm-all.c View File

@@ -13,10 +13,9 @@
*
*/

#include <sys/types.h>
#include "qemu/osdep.h"
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <stdarg.h>

#include <linux/kvm.h>


+ 1
- 0
kvm-stub.c View File

@@ -10,6 +10,7 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "hw/hw.h"
#include "cpu.h"

+ 1
- 0
main-loop.c View File

@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/timer.h"
#include "qemu/sockets.h" // struct in_addr needed for libslirp.h

+ 1
- 1
memory.c View File

@@ -13,6 +13,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/

#include "qemu/osdep.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
#include "exec/ioport.h"
@@ -21,7 +22,6 @@
#include "qemu/error-report.h"
#include "qom/object.h"
#include "trace.h"
#include <assert.h>

#include "exec/memory-internal.h"
#include "exec/ram_addr.h"

+ 1
- 0
memory_mapping.c View File

@@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include <glib.h>

#include "qemu-common.h"

+ 1
- 1
module-common.c View File

@@ -1,4 +1,4 @@
#include "config-host.h"
#include "qemu/osdep.h"
#include "qemu/module.h"

void qemu_module_dummy(void)

+ 1
- 1
monitor.c View File

@@ -21,6 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include <dirent.h>
#include "hw/hw.h"
#include "monitor/qdev.h"
@@ -59,7 +60,6 @@
#include "qapi/qmp/json-streamer.h"
#include "qapi/qmp/json-parser.h"
#include <qom/object_interfaces.h>
#include "qemu/osdep.h"
#include "cpu.h"
#include "trace.h"
#include "trace/control.h"

+ 1
- 0
nbd/client.c View File

@@ -16,6 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "nbd-internal.h"

static int nbd_errno_to_system_errno(int err)

+ 1
- 0
nbd/common.c View File

@@ -16,6 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "nbd-internal.h"

ssize_t nbd_wr_sync(int fd, void *buffer, size_t size, bool do_read)

+ 1
- 0
nbd/server.c View File

@@ -16,6 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "nbd-internal.h"

static int system_errno_to_nbd_errno(int err)

+ 1
- 0
numa.c View File

@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "sysemu/numa.h"
#include "exec/cpu-common.h"
#include "qemu/bitmap.h"

+ 1
- 5
os-posix.c View File

@@ -23,10 +23,7 @@
* THE SOFTWARE.
*/

#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/types.h>
#include "qemu/osdep.h"
#include <sys/wait.h>
/*needed for MAP_POPULATE before including qemu-options.h */
#include <sys/mman.h>
@@ -35,7 +32,6 @@
#include <libgen.h>

/* Needed early for CONFIG_BSD etc. */
#include "config-host.h"
#include "sysemu/sysemu.h"
#include "net/slirp.h"
#include "qemu-options.h"

+ 1
- 6
os-win32.c View File

@@ -22,14 +22,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include <windows.h>
#include <mmsystem.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
#include <errno.h>
#include <sys/time.h>
#include "config-host.h"
#include "sysemu/sysemu.h"
#include "qemu-options.h"


+ 1
- 7
page_cache.c View File

@@ -12,13 +12,7 @@
*
*/

#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <stdbool.h>
#include "qemu/osdep.h"
#include <glib.h>

#include "qemu-common.h"

+ 1
- 0
qdev-monitor.c View File

@@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "hw/qdev.h"
#include "hw/sysbus.h"
#include "monitor/monitor.h"

+ 2
- 11
qemu-bridge-helper.c View File

@@ -13,19 +13,10 @@
*
*/

#include "config-host.h"

#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <ctype.h>
#include "qemu/osdep.h"

#include <glib.h>

#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/un.h>

+ 1
- 7
qemu-char.c View File

@@ -21,6 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
#include "sysemu/sysemu.h"
@@ -37,11 +38,6 @@
#include "io/channel-file.h"
#include "io/channel-tls.h"

#include <unistd.h>
#include <fcntl.h>
#include <time.h>
#include <errno.h>
#include <sys/time.h>
#include <zlib.h>

#ifndef _WIN32
@@ -58,7 +54,6 @@
#include <netdb.h>
#include <sys/select.h>
#ifdef CONFIG_BSD
#include <sys/stat.h>
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include <dev/ppbus/ppi.h>
#include <dev/ppbus/ppbconf.h>
@@ -72,7 +67,6 @@
#include <linux/parport.h>
#endif
#ifdef __sun__
#include <sys/stat.h>
#include <sys/ethernet.h>
#include <sys/sockio.h>
#include <netinet/arp.h>

+ 1
- 4
qemu-nbd.c View File

@@ -16,6 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/block-backend.h"
#include "block/block_int.h"
@@ -27,15 +28,11 @@
#include "qapi/util.h"
#include "qapi/qmp/qstring.h"

#include <stdarg.h>
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <signal.h>
#include <libgen.h>
#include <pthread.h>


+ 1
- 1
qemu-seccomp.c View File

@@ -12,7 +12,7 @@
* Contributions after 2012-01-13 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.
*/
#include <stdio.h>
#include "qemu/osdep.h"
#include <seccomp.h>
#include "sysemu/seccomp.h"


+ 1
- 0
qemu-timer.c View File

@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/

#include "qemu/osdep.h"
#include "qemu/main-loop.h"
#include "qemu/timer.h"
#include "sysemu/replay.h"

+ 1
- 1
qjson.c View File

@@ -11,8 +11,8 @@
*
*/

#include "qemu/osdep.h"
#include <qapi/qmp/qstring.h>
#include <stdbool.h>
#include <glib.h>
#include <qjson.h>
#include <qemu/module.h>

+ 1
- 0
qmp.c View File

@@ -13,6 +13,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
#include "sysemu/sysemu.h"

+ 1
- 0
qtest.c View File

@@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "sysemu/qtest.h"
#include "hw/qdev.h"
#include "sysemu/char.h"

+ 1
- 0
replay/replay-events.c View File

@@ -9,6 +9,7 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "sysemu/replay.h"

+ 1
- 0
replay/replay-input.c View File

@@ -9,6 +9,7 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/replay.h"
#include "replay-internal.h"

+ 1
- 0
replay/replay-internal.c View File

@@ -9,6 +9,7 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/replay.h"
#include "replay-internal.h"

+ 1
- 0
replay/replay-time.c View File

@@ -9,6 +9,7 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/replay.h"
#include "replay-internal.h"

+ 1
- 0
replay/replay.c View File

@@ -9,6 +9,7 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/replay.h"
#include "replay-internal.h"

+ 1
- 2
spice-qemu-char.c View File

@@ -1,11 +1,10 @@
#include "config-host.h"
#include "qemu/osdep.h"
#include "trace.h"
#include "ui/qemu-spice.h"
#include "sysemu/char.h"
#include <spice.h>
#include <spice/protocol.h>

#include "qemu/osdep.h"

typedef struct SpiceCharDriver {
CharDriverState* chr;

+ 1
- 1
tcg-runtime.c View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include <stdint.h>
#include "qemu/osdep.h"
#include "qemu/host-utils.h"

/* This file is compiled once, and thus we can't include the standard

+ 1
- 1
tci.c View File

@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "config.h"
#include "qemu/osdep.h"

/* Defining NDEBUG disables assertions (which makes the code faster). */
#if !defined(CONFIG_DEBUG_TCG) && !defined(NDEBUG)

+ 1
- 1
thread-pool.c View File

@@ -14,10 +14,10 @@
* Contributions after 2012-01-13 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/queue.h"
#include "qemu/thread.h"
#include "qemu/osdep.h"
#include "qemu/coroutine.h"
#include "trace.h"
#include "block/thread-pool.h"

+ 1
- 3
thunk.c View File

@@ -16,9 +16,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include "qemu/osdep.h"

#include "qemu.h"
#include "exec/user/thunk.h"

+ 1
- 1
tpm.c View File

@@ -11,7 +11,7 @@
*
* Based on net.c
*/
#include "config-host.h"
#include "qemu/osdep.h"

#include "qapi/qmp/qerror.h"
#include "sysemu/tpm_backend.h"

+ 1
- 0
trace/control.c View File

@@ -7,6 +7,7 @@
* See the COPYING file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "trace/control.h"
#ifdef CONFIG_TRACE_SIMPLE
#include "trace/simple.h"

+ 1
- 4
trace/ftrace.c View File

@@ -9,10 +9,7 @@
*
*/

#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <limits.h>
#include "qemu/osdep.h"
#include "trace.h"
#include "trace/control.h"


+ 1
- 0
trace/qmp.c View File

@@ -7,6 +7,7 @@
* See the COPYING file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "qemu/typedefs.h"
#include "qmp-commands.h"
#include "trace/control.h"

+ 1
- 5
trace/simple.c View File

@@ -8,12 +8,8 @@
*
*/

#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#include "qemu/osdep.h"
#ifndef _WIN32
#include <signal.h>
#include <pthread.h>
#endif
#include "qemu/timer.h"

+ 1
- 2
user-exec.c View File

@@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "qemu/osdep.h"
#include "cpu.h"
#include "disas/disas.h"
#include "tcg.h"
@@ -33,7 +33,6 @@
#undef ESI
#undef EDI
#undef EIP
#include <signal.h>
#ifdef __linux__
#include <sys/ucontext.h>
#endif

+ 1
- 0
util/log.c View File

@@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/log.h"
#include "trace/control.h"

+ 1
- 8
vl.c View File

@@ -21,14 +21,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <time.h>
#include <errno.h>
#include <sys/time.h>
#include "qemu/osdep.h"

#include "config-host.h"

#ifdef CONFIG_SECCOMP
#include "sysemu/seccomp.h"
@@ -113,7 +107,6 @@ int main(int argc, char **argv)
#include "qemu/queue.h"
#include "sysemu/cpus.h"
#include "sysemu/arch_init.h"
#include "qemu/osdep.h"

#include "ui/qemu-spice.h"
#include "qapi/string-input-visitor.h"

Loading…
Cancel
Save