]> git.proxmox.com Git - qemu.git/blobdiff - tests/test-thread-pool.c
configure: Use -B switch only for Python versions which support it
[qemu.git] / tests / test-thread-pool.c
index 8188d1a69db1e81655b27ba1934d7438b8a1e0dc..c1f8e13a9f3fdbfb0d67a34534667b0e4df8a907 100644 (file)
@@ -3,6 +3,7 @@
 #include "block/aio.h"
 #include "block/thread-pool.h"
 #include "block/block.h"
+#include "qemu/timer.h"
 
 static AioContext *ctx;
 static ThreadPool *pool;
@@ -205,6 +206,8 @@ int main(int argc, char **argv)
 {
     int ret;
 
+    init_clocks();
+
     ctx = aio_context_new();
     pool = aio_get_thread_pool(ctx);