summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index f088ad668a1..53c86aee889 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -48,7 +48,11 @@ extern "C" {
#ifndef MYSQL_ABI_CHECK
#include <sys/types.h>
#endif
+
+#ifndef MYSQL_PLUGIN_INCLUDED
typedef char my_bool;
+#endif
+
#if (defined(_WIN32) || defined(_WIN64)) && !defined(__WIN__)
#define __WIN__
#endif