]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw: use "qemu/osdep.h" as first #include in source files
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 17 Oct 2017 16:43:53 +0000 (13:43 -0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 18 Dec 2017 14:07:02 +0000 (17:07 +0300)
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>
hw/acpi/ipmi-stub.c
hw/audio/fmopl.c
hw/cpu/core.c
hw/ppc/spapr_cpu_core.c
hw/smbios/smbios_type_38-stub.c
hw/vfio/ccw.c
hw/virtio/vhost-vsock.c

index 98b6dcee0d4ed002253f4db7ff7911f1688acf89..f525f71c2d0028da35ea7e4574d0d0271c26b40d 100644 (file)
@@ -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)
index 5cfb6a96ddddb948bfa864c902acaafea978c829..9f50a89b4a888962092e2f4daf8754eeff08e6a8 100644 (file)
@@ -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
index bd578ab80c359daaff7a463338d2c1d7eb8a4a9f..7e42e2c87a50ba664953ee94fe3da834d1976876 100644 (file)
@@ -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"
index 032438b9ce704f1eaba77c5d8b05521f69e6d6f2..ac19b2e0b72c672526d071f5fa990a53450d63b7 100644 (file)
@@ -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"
index 9528c2c28e78048f8633f94796535b8c6fb2bdba..5b83c9b1f1252a0b51307a22d0f07a09d1d5f413 100644 (file)
@@ -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)
index 636729c03d9800dad5fb231f9b41717c3936996f..16713f2c5218bf6573554bc6b3513a56046fe393 100644 (file)
  * 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"
index 5ec1c6a2a2332e5c745b54de5509a16a72ac0c7f..aa5af927e1d1f949aab979b26f6f7a1db6b0ad35 100644 (file)
@@ -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"