summaryrefslogtreecommitdiff
path: root/sasl_defs.c
diff options
context:
space:
mode:
authorSteve Wills <steve@mouf.net>2011-10-04 10:11:57 -0400
committerDustin Sallings <dustin@spy.net>2011-12-03 11:43:21 -0800
commitee486ab2990877e384bd993f330aafea795c1397 (patch)
tree926fb3d08e84e2ea65e89d1011ad94fcb5bd99e1 /sasl_defs.c
parent7bc93a6bf148cf7e0251cedffb2d87a44d1ea51e (diff)
downloadmemcached-ee486ab2990877e384bd993f330aafea795c1397.tar.gz
Fix to build with cyrus sasl 2.1.25
Diffstat (limited to 'sasl_defs.c')
-rw-r--r--sasl_defs.c3
1 files changed, 2 insertions, 1 deletions
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 <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sasl/saslplug.h>
#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 },