opnsense-ports/databases/percona57-server/files/patch-include_mysql.h
Franco Fichtner bc9fc2848c */*: sync with upstream
Taken from: FreeBSD
2023-04-11 09:42:51 +02:00

13 lines
289 B
C

--- include/mysql.h.orig 2023-02-28 17:21:35 UTC
+++ include/mysql.h
@@ -46,7 +46,10 @@ extern "C" {
#ifndef MYSQL_ABI_CHECK
#include <sys/types.h>
#endif
+#ifndef HAVE_TYPE_MY_BOOL
+#define HAVE_TYPE_MY_BOOL
typedef char my_bool;
+#endif
#if !defined(_WIN32)
#define STDCALL
#else