Skip to content

Commit

Permalink
Minimal required changes to make it work for mariadb 10.2 (#857)
Browse files Browse the repository at this point in the history
Always include mysql_version.h

Signed-off-by: Scott M. Likens <[email protected]>
  • Loading branch information
scottmlikens authored and sodabrew committed Jun 21, 2017
1 parent a1c198e commit 8ad9293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/mysql2/mysql2_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ void Init_mysql2(void);
#include <mysql_com.h>
#include <errmsg.h>
#include <mysqld_error.h>
#include <mysql_version.h>
#else
#include <mysql/mysql.h>
#include <mysql/mysql_com.h>
#include <mysql/errmsg.h>
#include <mysql/mysqld_error.h>
#include <mysql/mysql_version.h>
#endif

#ifdef HAVE_RUBY_ENCODING_H
Expand Down

0 comments on commit 8ad9293

Please sign in to comment.