aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins/fix-mysql-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/nagios-plugins/fix-mysql-headers.patch')
-rw-r--r--main/nagios-plugins/fix-mysql-headers.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/nagios-plugins/fix-mysql-headers.patch b/main/nagios-plugins/fix-mysql-headers.patch
new file mode 100644
index 0000000000..34926a73fe
--- /dev/null
+++ b/main/nagios-plugins/fix-mysql-headers.patch
@@ -0,0 +1,24 @@
+diff -up ./plugins/check_mysql.c.fix_mysql_f27 ./plugins/check_mysql.c
+--- ./plugins/check_mysql.c.fix_mysql_f27 2017-11-20 21:19:47.597527944 -0500
++++ ./plugins/check_mysql.c 2017-11-20 21:17:15.715921194 -0500
+@@ -41,7 +41,7 @@ const char *email = "devel@nagios-plugin
+ #include "utils_base.h"
+ #include "netutils.h"
+
+-#include <mysql.h>
++#include <server/mysql.h>
+ #include <mysqld_error.h>
+ #include <errmsg.h>
+
+diff -up ./plugins/check_mysql_query.c.fix_mysql_f27 ./plugins/check_mysql_query.c
+--- ./plugins/check_mysql_query.c.fix_mysql_f27 2017-11-20 21:20:01.369764323 -0500
++++ ./plugins/check_mysql_query.c 2017-11-20 21:17:20.378001200 -0500
+@@ -38,7 +38,7 @@ const char *email = "devel@nagios-plugin
+ #include "utils_base.h"
+ #include "netutils.h"
+
+-#include <mysql.h>
++#include <server/mysql.h>
+ #include <errmsg.h>
+
+ char *db_user = NULL;