aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stubs/arch-query-cpu-def.c1
-rw-r--r--stubs/bdrv-commit-all.c1
-rw-r--r--stubs/clock-warp.c1
-rw-r--r--stubs/cpu-get-clock.c1
-rw-r--r--stubs/cpu-get-icount.c1
-rw-r--r--stubs/cpus.c1
-rw-r--r--stubs/dump.c1
-rw-r--r--stubs/fd-register.c1
-rw-r--r--stubs/fdset-add-fd.c1
-rw-r--r--stubs/fdset-find-fd.c1
-rw-r--r--stubs/fdset-get-fd.c1
-rw-r--r--stubs/fdset-remove-fd.c1
-rw-r--r--stubs/gdbstub.c1
-rw-r--r--stubs/get-fd.c1
-rw-r--r--stubs/get-next-serial.c1
-rw-r--r--stubs/get-vm-name.c1
-rw-r--r--stubs/iothread-lock.c1
-rw-r--r--stubs/is-daemonized.c1
-rw-r--r--stubs/kvm.c1
-rw-r--r--stubs/machine-init-done.c1
-rw-r--r--stubs/migr-blocker.c1
-rw-r--r--stubs/mon-is-qmp.c1
-rw-r--r--stubs/mon-printf.c1
-rw-r--r--stubs/monitor-init.c1
-rw-r--r--stubs/notify-event.c1
-rw-r--r--stubs/qmp_pc_dimm_device_list.c1
-rw-r--r--stubs/qtest.c1
-rw-r--r--stubs/replay-user.c1
-rw-r--r--stubs/replay.c2
-rw-r--r--stubs/reset.c1
-rw-r--r--stubs/runstate-check.c1
-rw-r--r--stubs/set-fd-handler.c1
-rw-r--r--stubs/slirp.c1
-rw-r--r--stubs/sysbus.c1
-rw-r--r--stubs/target-get-monitor-def.c1
-rw-r--r--stubs/target-monitor-defs.c1
-rw-r--r--stubs/uuid.c1
-rw-r--r--stubs/vhost.c1
-rw-r--r--stubs/vm-stop.c1
-rw-r--r--stubs/vmstate.c1
40 files changed, 40 insertions, 1 deletions
diff --git a/stubs/arch-query-cpu-def.c b/stubs/arch-query-cpu-def.c
index a975ab453a..cefe4beb82 100644
--- a/stubs/arch-query-cpu-def.c
+++ b/stubs/arch-query-cpu-def.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/arch_init.h"
#include "qapi/qmp/qerror.h"
diff --git a/stubs/bdrv-commit-all.c b/stubs/bdrv-commit-all.c
index a8e0a95417..bf84a1d85a 100644
--- a/stubs/bdrv-commit-all.c
+++ b/stubs/bdrv-commit-all.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "block/block.h"
diff --git a/stubs/clock-warp.c b/stubs/clock-warp.c
index 5565118d11..5ae32b9e6a 100644
--- a/stubs/clock-warp.c
+++ b/stubs/clock-warp.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/timer.h"
diff --git a/stubs/cpu-get-clock.c b/stubs/cpu-get-clock.c
index 5b34c976d9..1d07523b86 100644
--- a/stubs/cpu-get-clock.c
+++ b/stubs/cpu-get-clock.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/timer.h"
diff --git a/stubs/cpu-get-icount.c b/stubs/cpu-get-icount.c
index d68585965f..3a6f2ab00f 100644
--- a/stubs/cpu-get-icount.c
+++ b/stubs/cpu-get-icount.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/timer.h"
diff --git a/stubs/cpus.c b/stubs/cpus.c
index 8e6f06b116..e19272297a 100644
--- a/stubs/cpus.c
+++ b/stubs/cpus.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qom/cpu.h"
diff --git a/stubs/dump.c b/stubs/dump.c
index 8c24eda847..d9ee23f1eb 100644
--- a/stubs/dump.c
+++ b/stubs/dump.c
@@ -11,6 +11,7 @@
*
*/
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/dump-arch.h"
#include "qmp-commands.h"
diff --git a/stubs/fd-register.c b/stubs/fd-register.c
index d0c34fd2a3..f91aa34185 100644
--- a/stubs/fd-register.c
+++ b/stubs/fd-register.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"
diff --git a/stubs/fdset-add-fd.c b/stubs/fdset-add-fd.c
index ee1643708c..bf9e60aed5 100644
--- a/stubs/fdset-add-fd.c
+++ b/stubs/fdset-add-fd.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
diff --git a/stubs/fdset-find-fd.c b/stubs/fdset-find-fd.c
index 4f18344bad..1d9caf37ec 100644
--- a/stubs/fdset-find-fd.c
+++ b/stubs/fdset-find-fd.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
diff --git a/stubs/fdset-get-fd.c b/stubs/fdset-get-fd.c
index 7112c155e3..5325044b5a 100644
--- a/stubs/fdset-get-fd.c
+++ b/stubs/fdset-get-fd.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
diff --git a/stubs/fdset-remove-fd.c b/stubs/fdset-remove-fd.c
index 7f6d61e619..47ea297210 100644
--- a/stubs/fdset-remove-fd.c
+++ b/stubs/fdset-remove-fd.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
diff --git a/stubs/gdbstub.c b/stubs/gdbstub.c
index f6a4553a31..359c28990a 100644
--- a/stubs/gdbstub.c
+++ b/stubs/gdbstub.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "stdbool.h" /* bool (in exec/gdbstub.h) */
#include "stddef.h" /* NULL */
#include "exec/gdbstub.h" /* xml_builtin */
diff --git a/stubs/get-fd.c b/stubs/get-fd.c
index 9f2c65cf0a..85881fb678 100644
--- a/stubs/get-fd.c
+++ b/stubs/get-fd.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
diff --git a/stubs/get-next-serial.c b/stubs/get-next-serial.c
index 40c56d13d7..6ff6a6d3b2 100644
--- a/stubs/get-next-serial.c
+++ b/stubs/get-next-serial.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
CharDriverState *serial_hds[0];
diff --git a/stubs/get-vm-name.c b/stubs/get-vm-name.c
index e5f619ffab..fa990136b0 100644
--- a/stubs/get-vm-name.c
+++ b/stubs/get-vm-name.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
const char *qemu_get_vm_name(void)
diff --git a/stubs/iothread-lock.c b/stubs/iothread-lock.c
index dda6f6b58d..9b6db2e740 100644
--- a/stubs/iothread-lock.c
+++ b/stubs/iothread-lock.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"
diff --git a/stubs/is-daemonized.c b/stubs/is-daemonized.c
index c0ee9171a7..d5cd1dc371 100644
--- a/stubs/is-daemonized.c
+++ b/stubs/is-daemonized.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
/* Win32 has its own inline stub */
diff --git a/stubs/kvm.c b/stubs/kvm.c
index 828b824f2c..ddd620499d 100644
--- a/stubs/kvm.c
+++ b/stubs/kvm.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/kvm.h"
diff --git a/stubs/machine-init-done.c b/stubs/machine-init-done.c
index 28a92555b6..9a0d62514f 100644
--- a/stubs/machine-init-done.c
+++ b/stubs/machine-init-done.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"
diff --git a/stubs/migr-blocker.c b/stubs/migr-blocker.c
index 300df6e205..8ab3604dfa 100644
--- a/stubs/migr-blocker.c
+++ b/stubs/migr-blocker.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "migration/migration.h"
diff --git a/stubs/mon-is-qmp.c b/stubs/mon-is-qmp.c
index dd26f19c87..a8344ced80 100644
--- a/stubs/mon-is-qmp.c
+++ b/stubs/mon-is-qmp.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
diff --git a/stubs/mon-printf.c b/stubs/mon-printf.c
index 0ce2ca6925..e7c1e0cf74 100644
--- a/stubs/mon-printf.c
+++ b/stubs/mon-printf.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
diff --git a/stubs/monitor-init.c b/stubs/monitor-init.c
index 563902b412..de1bc7cd54 100644
--- a/stubs/monitor-init.c
+++ b/stubs/monitor-init.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
diff --git a/stubs/notify-event.c b/stubs/notify-event.c
index 32f7289d3a..14e52268a8 100644
--- a/stubs/notify-event.c
+++ b/stubs/notify-event.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"
diff --git a/stubs/qmp_pc_dimm_device_list.c b/stubs/qmp_pc_dimm_device_list.c
index b584bd8b24..a4af7fe473 100644
--- a/stubs/qmp_pc_dimm_device_list.c
+++ b/stubs/qmp_pc_dimm_device_list.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qom/object.h"
#include "hw/mem/pc-dimm.h"
diff --git a/stubs/qtest.c b/stubs/qtest.c
index 4dfde6104d..891eb954fb 100644
--- a/stubs/qtest.c
+++ b/stubs/qtest.c
@@ -8,6 +8,7 @@
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "sysemu/qtest.h"
/* Needed for qtest_allowed() */
diff --git a/stubs/replay-user.c b/stubs/replay-user.c
index cf330721c8..b29e7ebba1 100644
--- a/stubs/replay-user.c
+++ b/stubs/replay-user.c
@@ -9,6 +9,7 @@
*
*/
+#include "qemu/osdep.h"
#include "sysemu/replay.h"
bool replay_exception(void)
diff --git a/stubs/replay.c b/stubs/replay.c
index 8f98790257..00ca01f55a 100644
--- a/stubs/replay.c
+++ b/stubs/replay.c
@@ -1,5 +1,5 @@
+#include "qemu/osdep.h"
#include "sysemu/replay.h"
-#include <stdlib.h>
#include "sysemu/sysemu.h"
ReplayMode replay_mode;
diff --git a/stubs/reset.c b/stubs/reset.c
index ad287251ed..5d47711f9a 100644
--- a/stubs/reset.c
+++ b/stubs/reset.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "hw/hw.h"
/* Stub functions for binaries that never call qemu_devices_reset(),
diff --git a/stubs/runstate-check.c b/stubs/runstate-check.c
index bd2e3757ae..7c5227e848 100644
--- a/stubs/runstate-check.c
+++ b/stubs/runstate-check.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "sysemu/sysemu.h"
bool runstate_check(RunState state)
diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c
index a8481bc3c1..26965de4c3 100644
--- a/stubs/set-fd-handler.c
+++ b/stubs/set-fd-handler.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"
diff --git a/stubs/slirp.c b/stubs/slirp.c
index bd0ac7f27d..dcae51f0e5 100644
--- a/stubs/slirp.c
+++ b/stubs/slirp.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "slirp/slirp.h"
diff --git a/stubs/sysbus.c b/stubs/sysbus.c
index e13496582b..d8da90caae 100644
--- a/stubs/sysbus.c
+++ b/stubs/sysbus.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "hw/qdev-core.h"
BusState *sysbus_get_default(void)
diff --git a/stubs/target-get-monitor-def.c b/stubs/target-get-monitor-def.c
index 711a9ae46b..013e6571e5 100644
--- a/stubs/target-get-monitor-def.c
+++ b/stubs/target-get-monitor-def.c
@@ -19,6 +19,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "stdint.h"
typedef struct CPUState CPUState;
diff --git a/stubs/target-monitor-defs.c b/stubs/target-monitor-defs.c
index 7d8d182b23..203ebb0f27 100644
--- a/stubs/target-monitor-defs.c
+++ b/stubs/target-monitor-defs.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "stddef.h"
#include "qemu/typedefs.h"
diff --git a/stubs/uuid.c b/stubs/uuid.c
index ffc0ed40ae..92ad717831 100644
--- a/stubs/uuid.c
+++ b/stubs/uuid.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"
#include "qmp-commands.h"
diff --git a/stubs/vhost.c b/stubs/vhost.c
index d346b856f5..2d76cdebdc 100644
--- a/stubs/vhost.c
+++ b/stubs/vhost.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "hw/virtio/vhost.h"
bool vhost_has_free_slot(void)
diff --git a/stubs/vm-stop.c b/stubs/vm-stop.c
index 69fd86b2e8..8271cad65d 100644
--- a/stubs/vm-stop.c
+++ b/stubs/vm-stop.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"
diff --git a/stubs/vmstate.c b/stubs/vmstate.c
index 778bc3fc69..65906271d2 100644
--- a/stubs/vmstate.c
+++ b/stubs/vmstate.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "migration/vmstate.h"