From 68c6f15722f9509e1acf75c09261e89990c5465a Mon Sep 17 00:00:00 2001 From: ume Date: Sat, 1 Oct 2011 18:20:10 +0000 Subject: Shut up warnings with Cyrus SASL 2.1.25. Spotted by: ache Tested by: ache --- contrib/sendmail/src/sendmail.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib/sendmail/src/sendmail.h') diff --git a/contrib/sendmail/src/sendmail.h b/contrib/sendmail/src/sendmail.h index 39ba16c..ecb3fa3 100644 --- a/contrib/sendmail/src/sendmail.h +++ b/contrib/sendmail/src/sendmail.h @@ -133,10 +133,15 @@ SM_UNUSED(static char SmailId[]) = "@(#)$Id: sendmail.h,v 8.1089 2011/03/15 23:1 # if SASL == 2 || SASL >= 20000 # include +# include # include +# if SASL_VERSION_FULL < 0x020119 +typedef int (*sasl_callback_ft)(void); +# endif # else /* SASL == 2 || SASL >= 20000 */ # include # include +typedef int (*sasl_callback_ft)(void); # endif /* SASL == 2 || SASL >= 20000 */ # if defined(SASL_VERSION_MAJOR) && defined(SASL_VERSION_MINOR) && defined(SASL_VERSION_STEP) # define SASL_VERSION (SASL_VERSION_MAJOR * 10000) + (SASL_VERSION_MINOR * 100) + SASL_VERSION_STEP -- cgit v1.1