Files
bsdports/_unused/monitoring-plugins/files/patch-plugins_common.h
2019-12-26 07:26:06 +00:00

15 lines
242 B
C

--- plugins/common.h.orig 2016-11-29 08:45:08 UTC
+++ plugins/common.h
@@ -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