--- a/tests/async_queries.c	2024-05-17 14:42:48.465859634 +0000
+++ b/tests/async_queries.c	2024-05-17 14:42:36.322436756 +0000
@@ -31,7 +31,9 @@
 #include <stdio.h>
 #include <string.h>
 
-#include <event.h>
+#include <event2/event_struct.h>
+#include <event2/event_compat.h>
+#include <event2/event.h>
 
 #define SL(s) (s), sizeof(s)
 static const char *my_groups[]= { "client", NULL };
