diff -up nagios-plugins-5c7eb5b9d5a7ed20ce27dcd81f23ecdb6720c2d6/plugins/check_mysql.c.kh1 nagios-plugins-5c7eb5b9d5a7ed20ce27dcd81f23ecdb6720c2d6/plugins/check_mysql.c
--- nagios-plugins-5c7eb5b9d5a7ed20ce27dcd81f23ecdb6720c2d6/plugins/check_mysql.c.kh1 2018-02-14 12:02:07.740364135 +0100
+++ nagios-plugins-5c7eb5b9d5a7ed20ce27dcd81f23ecdb6720c2d6/plugins/check_mysql.c 2018-02-14 12:02:25.604360688 +0100
@@ -43,6 +43,7 @@ const char *email = "devel@nagios-plugin
#include <mysql.h>
#include <mysqld_error.h>
+#include <mysql_version.h>
#include <errmsg.h>
char *db_user = NULL;
diff -up nagios-plugins-5c7eb5b9d5a7ed20ce27dcd81f23ecdb6720c2d6/plugins/check_mysql_query.c.kh1 nagios-plugins-5c7eb5b9d5a7ed20ce27dcd81f23ecdb6720c2d6/plugins/check_mysql_query.c
--- nagios-plugins-5c7eb5b9d5a7ed20ce27dcd81f23ecdb6720c2d6/plugins/check_mysql_query.c.kh1 2018-02-14 12:06:39.024103239 +0100
+++ nagios-plugins-5c7eb5b9d5a7ed20ce27dcd81f23ecdb6720c2d6/plugins/check_mysql_query.c 2018-02-14 12:07:07.508074303 +0100
@@ -39,6 +39,7 @@ const char *email = "devel@nagios-plugin
#include "netutils.h"
#include <mysql.h>
+#include <mysql_version.h>
#include <errmsg.h>
char *db_user = NULL;