mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-29 18:20:03 -04:00
Fix build issue with MariaDB 10.2
As of 10.2 MariaDB no longer defines MYSQL_PORT.
This commit is contained in:
parent
9661ee7488
commit
399cc14152
1 changed files with 5 additions and 0 deletions
|
|
@ -174,6 +174,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/* MariaDB 10.2 client does not set MYSQL_PORT */
|
||||
#ifndef MYSQL_PORT
|
||||
# define MYSQL_PORT 3306
|
||||
#endif
|
||||
|
||||
enum {
|
||||
OK = 0,
|
||||
ERROR = -1
|
||||
|
|
|
|||
Loading…
Reference in a new issue