mariadb: fix gcc-14 build

ref:
- https://jira.mariadb.org/browse/MDEV-34072
This commit is contained in:
Rudi Heitbaum 2024-05-17 14:49:46 +00:00
parent 201ba5135a
commit b1feb5dbe3

View File

@ -0,0 +1,13 @@
--- 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 };