summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-03-17 14:07:34 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2006-03-17 14:07:34 (GMT)
commit2db2f402a3bb0c948667c1401b733014fe90a718 (patch)
treed389192fa3385893f2c4492a98db6ef4790efd32 /plugins/check_mysql.c
parent2b10c19323e2415433db55ac4bfa0604294fa43d (diff)
downloadmonitoring-plugins-2db2f402a3bb0c948667c1401b733014fe90a718.tar.gz
mysql detection cleanup: fixes runtime linking, autodetection of main
locations, detection of lib64 and different layouts git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1327 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r--plugins/check_mysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 92ac7ff..9d547dd 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -25,8 +25,8 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
25#include "utils.h" 25#include "utils.h"
26#include "netutils.h" 26#include "netutils.h"
27 27
28#include <mysql/mysql.h> 28#include <mysql.h>
29#include <mysql/errmsg.h> 29#include <errmsg.h>
30 30
31char *db_user = NULL; 31char *db_user = NULL;
32char *db_host = NULL; 32char *db_host = NULL;