diff --git a/contrib/ldapsasl/ldapdb.c b/contrib/ldapsasl/ldapdb.c index da52ec1fba..6217e12844 100644 --- a/contrib/ldapsasl/ldapdb.c +++ b/contrib/ldapsasl/ldapdb.c @@ -19,8 +19,10 @@ #include "saslutil.h" #include "saslplug.h" +#ifndef SASL_VERSION_FULL #define SASL_VERSION_FULL ((SASL_VERSION_MAJOR << 16) |\ (SASL_VERSION_MINOR << 8) |SASL_VERSION_STEP) +#endif #include "plugin_common.h"