diff options
-rw-r--r-- | src/configfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configfile.c b/src/configfile.c index 0a8b0e02..7363ed68 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -25,6 +25,7 @@ #include <glob.h> +#if defined(HAVE_MYSQL) || (defined(HAVE_LDAP_H) && defined(HAVE_LBER_H) && defined(HAVE_LIBLDAP) && defined(HAVE_LIBLBER)) static void config_warn_authn_module (server *srv, const char *module) { size_t len = strlen(module); for (size_t i = 0; i < srv->config_context->used; ++i) { @@ -39,6 +40,7 @@ static void config_warn_authn_module (server *srv, const char *module) { } } } +#endif static int config_insert(server *srv) { size_t i; |