Commit 69cf1ebaf5 for qemu.org

commit 69cf1ebaf569ee2c7df21153ac8b2f14e65710d8
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date:   Wed Aug 12 11:19:55 2026 +0200

    tests/unit: Include 'qemu/main-loop.h' header in test-util-sockets.c

    test-util-sockets.c calls qemu_init_main_loop(), itself declared in
    the "qemu/main-loop.h" header. Include the latter to avoid when
    refactoring unrelated headers:

      ../tests/unit/test-util-sockets.c:553:5: error: call to undeclared function 'qemu_init_main_loop'
      553 |     qemu_init_main_loop(&error_abort);
          |     ^

    Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20260812211708.92824-4-philmd@oss.qualcomm.com>

diff --git a/tests/unit/test-util-sockets.c b/tests/unit/test-util-sockets.c
index ee66d727c3..ab3f39c3ef 100644
--- a/tests/unit/test-util-sockets.c
+++ b/tests/unit/test-util-sockets.c
@@ -19,6 +19,7 @@
  */

 #include "qemu/osdep.h"
+#include "qemu/main-loop.h"
 #include "qemu/sockets.h"
 #include "qapi/error.h"
 #include "socket-helpers.h"