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 664df04181918082f6fc8b579c5c340035deb2e0..8fa47edd9a6e3278cb8e3c238d85fe430031da16 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 63654834739f918d22b28a6f8bcc685f4e0383fb..b2cd992430c9d82aad9e4e7bb3dcb19cf549327d 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include "qemu-common.h"
-#include "qemu/typedefs.h"
 #include "exec/cpu-common.h"
 #include "hw/irq.h"