diff --git a/lib/ldap.c b/lib/ldap.c index f5a44c69eb92ad534133223aa392448ab023a4a8..095fbeb0b8e286d4ccbdee73294844f2265f2de3 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -45,7 +45,11 @@ #ifdef CURL_LDAP_WIN /* Use W$ LDAP implementation. */ # include -# include +# ifndef LDAP_VENDOR_NAME +# error Your Platform SDK is NOT sufficient for LDAP support! Update your Platform SDK, or disable LDAP LDAP support! +# else +# include +# endif #else #define LDAP_DEPRECATED 1 /* Be sure ldap_init() is defined. */ # include