Skip to content

Commit 8ad9293

Browse files
scottmlikenssodabrew
authored andcommitted
Minimal required changes to make it work for mariadb 10.2 (#857)
Always include mysql_version.h Signed-off-by: Scott M. Likens <[email protected]>
1 parent a1c198e commit 8ad9293

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/mysql2/mysql2_ext.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ void Init_mysql2(void);
1414
#include <mysql_com.h>
1515
#include <errmsg.h>
1616
#include <mysqld_error.h>
17+
#include <mysql_version.h>
1718
#else
1819
#include <mysql/mysql.h>
1920
#include <mysql/mysql_com.h>
2021
#include <mysql/errmsg.h>
2122
#include <mysql/mysqld_error.h>
23+
#include <mysql/mysql_version.h>
2224
#endif
2325

2426
#ifdef HAVE_RUBY_ENCODING_H

0 commit comments

Comments
 (0)