aboutsummaryrefslogtreecommitdiff
path: root/hw/openrisc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:22 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:24 +0000
commited2decc6a5f2c9d92fc356ffcc9a038d52d15d4e (patch)
treeb31d26bd429319f4db8f767ffa8eba6eef54aee5 /hw/openrisc
parent09aae23d8ff68c206d74b48a53a398ca4db4b47b (diff)
openrisc: 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-30-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/openrisc')
-rw-r--r--hw/openrisc/cputimer.c1
-rw-r--r--hw/openrisc/openrisc_sim.c1
-rw-r--r--hw/openrisc/pic_cpu.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/hw/openrisc/cputimer.c b/hw/openrisc/cputimer.c
index 560cb914c5..a98c799de6 100644
--- a/hw/openrisc/cputimer.c
+++ b/hw/openrisc/cputimer.c
@@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/hw.h"
#include "qemu/timer.h"
diff --git a/hw/openrisc/openrisc_sim.c b/hw/openrisc/openrisc_sim.c
index be6c9b5622..25c637aba7 100644
--- a/hw/openrisc/openrisc_sim.c
+++ b/hw/openrisc/openrisc_sim.c
@@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "elf.h"
diff --git a/hw/openrisc/pic_cpu.c b/hw/openrisc/pic_cpu.c
index 2af1d6013a..569b443f59 100644
--- a/hw/openrisc/pic_cpu.c
+++ b/hw/openrisc/pic_cpu.c
@@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "hw/hw.h"
#include "cpu.h"