On 1/9/26 16:47, Philippe Mathieu-Daudé wrote:
diff --git a/tests/qtest/libqos/ahci.c b/tests/qtest/libqos/ahci.c
index 34a75b7f43b..0621a6c4775 100644
--- a/tests/qtest/libqos/ahci.c
+++ b/tests/qtest/libqos/ahci.c
@@ -28,7 +28,7 @@
#include "ahci.h"
#include "pci-pc.h"
-#include "qemu/host-utils.h"
+#include "qemu/bswap.h"
#include "hw/pci/pci_ids.h"
#include "hw/pci/pci_regs.h"
I'm getting a compilation error in ahci.c:
../tests/qtest/libqos/ahci.c: In function ‘ahci_hba_enable’:
../tests/qtest/libqos/ahci.c:252:52: error: implicit declaration of
function ‘ctzl’ [-Werror=implicit-function-declaration]
ctzl is defined in host-utils.h. (Build platform is Ubuntu 24.04 x86_64)
Jim