diff --git a/sasl_defs.c b/sasl_defs.c index 2e2c577..46a0866 100644 --- a/sasl_defs.c +++ b/sasl_defs.c @@ -3,6 +3,7 @@ #include #include #include +#include #ifdef HAVE_SASL_CB_GETCONF /* The locations we may search for a SASL config file if the user didn't @@ -141,7 +142,7 @@ static sasl_callback_t sasl_callbacks[] = { { SASL_CB_SERVER_USERDB_CHECKPASS, sasl_server_userdb_checkpass, NULL }, #endif - { SASL_CB_LOG, sasl_log, NULL }, + { SASL_CB_LOG, (sasl_callback_ft)sasl_log, NULL }, #ifdef HAVE_SASL_CB_GETCONF { SASL_CB_GETCONF, sasl_getconf, NULL },