summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--plugins/common.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 3093c6e..0c16add 100644
--- a/.gitignore
+++ b/.gitignore
@@ -241,6 +241,7 @@ NP-VERSION-FILE
241/plugins-scripts/check_sensors 241/plugins-scripts/check_sensors
242/plugins-scripts/check_wave 242/plugins-scripts/check_wave
243/plugins-scripts/check_file_age 243/plugins-scripts/check_file_age
244/plugins-scripts/check_uptime
244 245
245# /po/ 246# /po/
246/po/Makefile 247/po/Makefile
diff --git a/plugins/common.h b/plugins/common.h
index 8719b50..6bf4fca 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -174,6 +174,11 @@
174 * 174 *
175 */ 175 */
176 176
177/* MariaDB 10.2 client does not set MYSQL_PORT */
178#ifndef MYSQL_PORT
179# define MYSQL_PORT 3306
180#endif
181
177enum { 182enum {
178 OK = 0, 183 OK = 0,
179 ERROR = -1 184 ERROR = -1