summaryrefslogtreecommitdiff
path: root/src/mod_authn_mysql.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-10-17 14:02:32 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2016-10-17 14:15:50 -0400
commitac90699d2802a3ad660d18998b4c5481ec7c843b (patch)
tree77330c90f5d93e93c1b418c1810eca6f4808bde5 /src/mod_authn_mysql.c
parentc073a31f6921496ef194ba3a68a11ee03c07554d (diff)
downloadlighttpd-git-ac90699d2802a3ad660d18998b4c5481ec7c843b.tar.gz
[autobuild] rm module stub code for missing deps
remove module stub code since the build system(s) no longer build any module when the dependencies for a given module are not present.
Diffstat (limited to 'src/mod_authn_mysql.c')
-rw-r--r--src/mod_authn_mysql.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mod_authn_mysql.c b/src/mod_authn_mysql.c
index 0fcb29ec..ce1b7901 100644
--- a/src/mod_authn_mysql.c
+++ b/src/mod_authn_mysql.c
@@ -18,16 +18,13 @@
* TODO: db connection pool (if asynchronous requests)
*/
-#include "plugin.h"
-
-#ifdef HAVE_MYSQL
-
#include <mysql.h>
#include "server.h"
#include "http_auth.h"
#include "log.h"
#include "md5.h"
+#include "plugin.h"
#include <ctype.h>
#include <errno.h>
@@ -542,13 +539,3 @@ int mod_authn_mysql_plugin_init(plugin *p) {
return 0;
}
-
-#else
-
-int mod_authn_mysql_plugin_init(plugin *p);
-int mod_authn_mysql_plugin_init(plugin *p) {
- UNUSED(p);
- return -1;
-}
-
-#endif