diff options
author | ume <ume@FreeBSD.org> | 2011-10-01 18:20:10 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2011-10-01 18:20:10 +0000 |
commit | 68c6f15722f9509e1acf75c09261e89990c5465a (patch) | |
tree | b5c85a216725657d9aec5ccbd9e8340d9a0b27ee /contrib/sendmail/src/sendmail.h | |
parent | 5d35bac957d516cad359f4476f18e99c5c6d3cd2 (diff) | |
download | FreeBSD-src-68c6f15722f9509e1acf75c09261e89990c5465a.zip FreeBSD-src-68c6f15722f9509e1acf75c09261e89990c5465a.tar.gz |
Shut up warnings with Cyrus SASL 2.1.25.
Spotted by: ache
Tested by: ache
Diffstat (limited to 'contrib/sendmail/src/sendmail.h')
-rw-r--r-- | contrib/sendmail/src/sendmail.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <sasl/sasl.h> +# include <sasl/saslplug.h> # include <sasl/saslutil.h> +# if SASL_VERSION_FULL < 0x020119 +typedef int (*sasl_callback_ft)(void); +# endif # else /* SASL == 2 || SASL >= 20000 */ # include <sasl.h> # include <saslutil.h> +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 |