summaryrefslogtreecommitdiff
path: root/devel/apr1/files/patch-PR59332
blob: 781d41e852ddf8ceec4d0eff64606e4ed5110e47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
See https://bz.apache.org/bugzilla/show_bug.cgi?id=59332

Also reported in PR230538 devel/apr1 fails with mysql80-client

--- apr-util-1.6.3/dbd/apr_dbd_mysql.c.orig	2023-01-27 13:32:52 UTC
+++ apr-util-1.6.3/dbd/apr_dbd_mysql.c
@@ -44,6 +44,11 @@
 #include <errmsg.h>
 #endif
 
+#if !defined(HAVE_TYPE_MY_BOOL) && !defined(LIBMARIADB)
+#include <stdbool.h>
+typedef bool my_bool;
+#endif
+
 #include "apr_strings.h"
 #include "apr_lib.h"
 #include "apr_buckets.h"