Browse Source

hw: use "qemu/osdep.h" as first #include in source files

applied using ./scripts/clean-includes

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
pull/65/head
Philippe Mathieu-Daudé 9 years ago
committed by Michael Tokarev
parent
commit
e9808d0969
  1. 1
      hw/acpi/ipmi-stub.c
  2. 1
      hw/audio/fmopl.c
  3. 1
      hw/cpu/core.c
  4. 1
      hw/ppc/spapr_cpu_core.c
  5. 1
      hw/smbios/smbios_type_38-stub.c
  6. 2
      hw/vfio/ccw.c
  7. 2
      hw/virtio/vhost-vsock.c

1
hw/acpi/ipmi-stub.c

@ -7,6 +7,7 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "hw/acpi/ipmi.h"
void build_acpi_ipmi_devices(Aml *table, BusState *bus)

1
hw/audio/fmopl.c

@ -34,7 +34,6 @@
#include <math.h>
//#include "driver.h" /* use M.A.M.E. */
#include "fmopl.h"
#include "qemu/osdep.h"
#ifndef PI
#define PI 3.14159265358979323846
#endif

1
hw/cpu/core.c

@ -6,6 +6,7 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "hw/cpu/core.h"
#include "qapi/visitor.h"
#include "qapi/error.h"

1
hw/ppc/spapr_cpu_core.c

@ -6,6 +6,7 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "hw/cpu/core.h"
#include "hw/ppc/spapr_cpu_core.h"
#include "target/ppc/cpu.h"

1
hw/smbios/smbios_type_38-stub.c

@ -7,6 +7,7 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "hw/smbios/ipmi.h"
void smbios_build_type_38_table(void)

2
hw/vfio/ccw.c

@ -11,11 +11,11 @@
* directory.
*/
#include "qemu/osdep.h"
#include <linux/vfio.h>
#include <linux/vfio_ccw.h>
#include <sys/ioctl.h>
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "hw/sysbus.h"
#include "hw/vfio/vfio.h"

2
hw/virtio/vhost-vsock.c

@ -11,8 +11,8 @@
* top-level directory.
*/
#include <sys/ioctl.h>
#include "qemu/osdep.h"
#include <sys/ioctl.h>
#include "standard-headers/linux/virtio_vsock.h"
#include "qapi/error.h"
#include "hw/virtio/virtio-bus.h"

Loading…
Cancel
Save