xen: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 24 May 2016 15:27:18 +0000 (16:27 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 14 Jun 2016 14:37:43 +0000 (15:37 +0100)
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>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/usb/xen-usb.c
include/hw/xen/xen.h

index 664df04..8fa47ed 100644 (file)
  *  GNU GPL, version 2 or (at your option) any later version.
  */
 
+#include "qemu/osdep.h"
 #include <libusb.h>
-#include <stdio.h>
-#include <sys/types.h>
 #include <sys/mman.h>
-#include <sys/time.h>
 
-#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "qemu/config-file.h"
 #include "hw/sysbus.h"
index 6365483..b2cd992 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include "qemu-common.h"
-#include "qemu/typedefs.h"
 #include "exec/cpu-common.h"
 #include "hw/irq.h"