summaryrefslogtreecommitdiff
path: root/hw/timer
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:16:57 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:22 +0000
commitea99dde191379804cb01881f931cd50db6550df7 (patch)
tree91f9081cac107479837cc470f18f3602ae0246fe /hw/timer
parent7b31bbc2e68605ab2f10dc609dd54cf4c7b5f49a (diff)
downloadqemu-ea99dde191379804cb01881f931cd50db6550df7.tar.gz
qemu-ea99dde191379804cb01881f931cd50db6550df7.tar.bz2
qemu-ea99dde191379804cb01881f931cd50db6550df7.zip
lm32: 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> Message-id: 1453832250-766-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer')
-rw-r--r--hw/timer/lm32_timer.c1
-rw-r--r--hw/timer/milkymist-sysctl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c
index d2ab1e74b2..3198355aa4 100644
--- a/hw/timer/lm32_timer.c
+++ b/hw/timer/lm32_timer.c
@@ -21,6 +21,7 @@
* http://www.latticesemi.com/documents/mico32timer.pdf
*/
+#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "trace.h"
diff --git a/hw/timer/milkymist-sysctl.c b/hw/timer/milkymist-sysctl.c
index 30535a4e3d..5f2948037a 100644
--- a/hw/timer/milkymist-sysctl.c
+++ b/hw/timer/milkymist-sysctl.c
@@ -21,6 +21,7 @@
* http://www.milkymist.org/socdoc/sysctl.pdf
*/
+#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "sysemu/sysemu.h"