diff --git a/disas/lm32.c b/disas/lm32.c index 1718c86e1c0ff02abb1784e0308183d313708db3..fcc2cde23d28fc79e834066b774c61d646802c53 100644 --- a/disas/lm32.c +++ b/disas/lm32.c @@ -18,7 +18,7 @@ * */ -#include +#include "qemu/osdep.h" #include "disas/bfd.h" typedef enum { diff --git a/hw/char/lm32_juart.c b/hw/char/lm32_juart.c index 62763f2f431218c682ca5f18f3638848f872af24..5bf8acfe8fed38a4c4ae906c4892ab671ddf8d2c 100644 --- a/hw/char/lm32_juart.c +++ b/hw/char/lm32_juart.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/char/lm32_uart.c b/hw/char/lm32_uart.c index 837a46e8e1f138a2b4402c7764966fbbf8f16965..036813d0f3671a01d13009934a155558b09aec7e 100644 --- a/hw/char/lm32_uart.c +++ b/hw/char/lm32_uart.c @@ -22,6 +22,7 @@ */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/char/milkymist-uart.c b/hw/char/milkymist-uart.c index 9b89b7e63673b2a7b79e81c7e215a98884097b12..03b36b2236bd620219b4d0fcad3c19777a9ee45f 100644 --- a/hw/char/milkymist-uart.c +++ b/hw/char/milkymist-uart.c @@ -21,6 +21,7 @@ * http://www.milkymist.org/socdoc/uart.pdf */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/display/milkymist-tmu2.c b/hw/display/milkymist-tmu2.c index e2de28176897763b80e045868959cc8d9a336e1b..9bc88f93b687322a22aa43a8c2b370d67cf5a45a 100644 --- a/hw/display/milkymist-tmu2.c +++ b/hw/display/milkymist-tmu2.c @@ -24,6 +24,7 @@ * */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/display/milkymist-vgafb.c b/hw/display/milkymist-vgafb.c index ab3074fadc295f145c911bd1cdee6b6fd853aa77..19ca256479d5cbd9c814e32db9839a0d74a93a3c 100644 --- a/hw/display/milkymist-vgafb.c +++ b/hw/display/milkymist-vgafb.c @@ -22,6 +22,7 @@ * http://www.milkymist.org/socdoc/vgafb.pdf */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/input/milkymist-softusb.c b/hw/input/milkymist-softusb.c index 8a02d35ca15af83e3b0b84be2d7461e4bf1dee2a..64b929281e1ba7735c5037b3d05e8dc88f16b751 100644 --- a/hw/input/milkymist-softusb.c +++ b/hw/input/milkymist-softusb.c @@ -21,6 +21,7 @@ * not available yet */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/intc/lm32_pic.c b/hw/intc/lm32_pic.c index 641ee4727ce3d8e468366f844d706e2ce2175f8f..edc08f184a750130554b9e258873889d34c97aea 100644 --- a/hw/intc/lm32_pic.c +++ b/hw/intc/lm32_pic.c @@ -17,7 +17,7 @@ * License along with this library; if not, see . */ -#include +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i386/pc.h" diff --git a/hw/lm32/lm32_boards.c b/hw/lm32/lm32_boards.c index eb553a174e95ca0d2609459554149cb5b4a4bdb0..efa6f91fd2a9c2b94154a8c179bf6c20542407ea 100644 --- a/hw/lm32/lm32_boards.c +++ b/hw/lm32/lm32_boards.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/hw.h" #include "hw/block/flash.h" diff --git a/hw/lm32/milkymist.c b/hw/lm32/milkymist.c index 13976b3489fe87b60bccde58ac62168a0d5cc332..5a37b4a1c1e0e90da8b0e9a6429f710ee86e2699 100644 --- a/hw/lm32/milkymist.c +++ b/hw/lm32/milkymist.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/hw.h" #include "hw/block/flash.h" diff --git a/hw/misc/milkymist-hpdmc.c b/hw/misc/milkymist-hpdmc.c index f5f4c1b343d25dc75f9849133c83c60873fd528a..b97000fc49966bdb4f4ed2555cc9db35a1f2e1cf 100644 --- a/hw/misc/milkymist-hpdmc.c +++ b/hw/misc/milkymist-hpdmc.c @@ -21,6 +21,7 @@ * http://www.milkymist.org/socdoc/hpdmc.pdf */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/misc/milkymist-pfpu.c b/hw/misc/milkymist-pfpu.c index 08b604f13f4be40d94e2608d72fe813082f8969f..57acd7b36521829d92810e29c845e9609f33f543 100644 --- a/hw/misc/milkymist-pfpu.c +++ b/hw/misc/milkymist-pfpu.c @@ -22,6 +22,7 @@ * */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c index 6302b8bfab5a3f6d5ebe34fd321e635985dace61..d35d39a0e5bad02ed950180d3a0b549a8e1659e7 100644 --- a/hw/net/milkymist-minimac2.c +++ b/hw/net/milkymist-minimac2.c @@ -22,6 +22,7 @@ * */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/sd/milkymist-memcard.c b/hw/sd/milkymist-memcard.c index b430d5668716c137f929629cd7664a63a5a81346..c04ff02fadd991f1c926a20758c1e11324bb6945 100644 --- a/hw/sd/milkymist-memcard.c +++ b/hw/sd/milkymist-memcard.c @@ -21,6 +21,7 @@ * http://www.milkymist.org/socdoc/memcard.pdf */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c index d2ab1e74b2ae927173c1000880a3984275b5b574..3198355aa4e67b5dd1d7979fb11f539891d2be9e 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 30535a4e3d37d07eb638e8b45f46931084b236c0..5f2948037aa3de3793c21ed71d2b1836ee5ceb81 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" diff --git a/target-lm32/cpu.c b/target-lm32/cpu.c index 0bc544c1e08e1e832865929e3bc3a660bebbdf06..f93bb5d0dd3d7a07e3a3619efcb3753ec900e734 100644 --- a/target-lm32/cpu.c +++ b/target-lm32/cpu.c @@ -18,6 +18,7 @@ * */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" diff --git a/target-lm32/gdbstub.c b/target-lm32/gdbstub.c index 4979a98d743306dd6f7e7c5fac5635769f6d022d..8ac1288bb6935c2edf6a4192a45bc7874a0ea9a4 100644 --- a/target-lm32/gdbstub.c +++ b/target-lm32/gdbstub.c @@ -17,7 +17,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ -#include "config.h" +#include "qemu/osdep.h" #include "qemu-common.h" #include "exec/gdbstub.h" #include "hw/lm32/lm32_pic.h" diff --git a/target-lm32/helper.c b/target-lm32/helper.c index e26c13357b7c1f02d594d5a8b6844ed1164d12e0..3ebec68cba763056940974389e082c26aa8275a2 100644 --- a/target-lm32/helper.c +++ b/target-lm32/helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" #include "sysemu/sysemu.h" diff --git a/target-lm32/lm32-semi.c b/target-lm32/lm32-semi.c index ec6524f376d74c680fa2ecc56f244c77cae98c6e..20f1a1cd482293d0e83749ea9b52b5eb97a9be20 100644 --- a/target-lm32/lm32-semi.c +++ b/target-lm32/lm32-semi.c @@ -10,10 +10,7 @@ * See the COPYING file in the top-level directory. */ -#include -#include -#include -#include +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/log.h" diff --git a/target-lm32/machine.c b/target-lm32/machine.c index 8327c6d97cbb4a2e96d0075c7453aa71a7f12e7a..91c943d19377c92bbff0cb1afe7b7c61edc92ce2 100644 --- a/target-lm32/machine.c +++ b/target-lm32/machine.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/boards.h" diff --git a/target-lm32/op_helper.c b/target-lm32/op_helper.c index 61209c19b23910c1d825b47f8e2951c707af26ff..b6759e02259859d1da8829bc322542735e86cc54 100644 --- a/target-lm32/op_helper.c +++ b/target-lm32/op_helper.c @@ -1,4 +1,4 @@ -#include +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" diff --git a/target-lm32/translate.c b/target-lm32/translate.c index fa5b0b93a3f2b353b63e47cfd78c94814c6df16c..477d4285a5213be4ffd31fe15c4c8568c266ca21 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "disas/disas.h" #include "exec/helper-proto.h"