From 1b912a970cf08eed3bb3919e7e68f4b0eea313f4 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 6 Feb 2009 21:30:22 +0100 Subject: Improve mysql configure check (for unusual paths) Remove AC_CHECK_HEADERS([mysql/mysql.h],...) as this was causing pain for users where the mysql headers are not installed in the system include directory. It was superfluous anyways, as we check for mysql_config and set the include path to the correct directory. Update ommysql.c to use #include , as mysql_config will set the include path to /path/to/include/mysql/ so would not work. Remove errmsg.h include as it is not used. --- plugins/ommysql/ommysql.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/ommysql') diff --git a/plugins/ommysql/ommysql.c b/plugins/ommysql/ommysql.c index 22abb1d2..ecf738a9 100644 --- a/plugins/ommysql/ommysql.c +++ b/plugins/ommysql/ommysql.c @@ -35,8 +35,7 @@ #include #include #include -#include -#include +#include #include "dirty.h" #include "syslogd-types.h" #include "srUtils.h" -- cgit