aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins/fix-mysql-headers.patch
blob: 34926a73feb9486a4442c49ff6e3853f593db4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;