aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-08 19:01:23 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-16 14:29:28 +0000
commitc964b660223308150bb72c627b320c79372c7128 (patch)
tree9dcb4c71de11731ffc5a617e51ca8464b7b418df /hw/misc
parent2aef8c91346b8faa43dffe1e26b6befc65ed7b1b (diff)
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> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/misc')
-rw-r--r--hw/misc/bcm2835_mbox.c1
-rw-r--r--hw/misc/bcm2835_property.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/misc/bcm2835_mbox.c b/hw/misc/bcm2835_mbox.c
index df1d6e6ad6..500baba7c0 100644
--- a/hw/misc/bcm2835_mbox.c
+++ b/hw/misc/bcm2835_mbox.c
@@ -8,6 +8,7 @@
* https://github.com/raspberrypi/firmware/wiki/Accessing-mailboxes
*/
+#include "qemu/osdep.h"
#include "hw/misc/bcm2835_mbox.h"
#define MAIL0_PEEK 0x90
diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c
index 45bd6c18ce..581922abd7 100644
--- a/hw/misc/bcm2835_property.c
+++ b/hw/misc/bcm2835_property.c
@@ -3,6 +3,7 @@
* This code is licensed under the GNU GPLv2 and later.
*/
+#include "qemu/osdep.h"
#include "hw/misc/bcm2835_property.h"
#include "hw/misc/bcm2835_mbox_defs.h"
#include "sysemu/dma.h"