qapi/qmp-dispatch: Include 'qemu/aio-wait.h' and 'monitor/monitor.h'
qmp-dispatch.c calls aio_wait_kick() and monitor_cur(). Include the header declaring them in order to avoid the following build failure when refactoring unrelated headers: ../qapi/qmp-dispatch.c:126:12: error: call to undeclared function 'monitor_cur' 126 | assert(monitor_cur() == NULL); | ^ ../qapi/qmp-dispatch.c:141:5: error: call to undeclared function 'aio_wait_kick' 141 | aio_wait_kick(); | ^ Fixes: 41725fa7eda ("qmp: Call monitor_set_cur() only in qmp_dispatch()") Fixes: fc1a2ec7da5 ("monitor: Fix deadlock in monitor_cleanup") Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20260812211708.92824-5-philmd@oss.qualcomm.com>