From: Stephan Bosch Date: Sat, 11 Oct 2025 13:46:56 +0000 (+0200) Subject: auth: db-ldap-sasl - Fix compile without LDAP and without installed LDAP development... X-Git-Tag: 2.4.2~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eae457a36a93779de6979c007f13b2be13c2e707;p=thirdparty%2Fdovecot%2Fcore.git auth: db-ldap-sasl - Fix compile without LDAP and without installed LDAP development headers --- diff --git a/src/auth/db-ldap-sasl.c b/src/auth/db-ldap-sasl.c index 5abac0fe81..5512123415 100644 --- a/src/auth/db-ldap-sasl.c +++ b/src/auth/db-ldap-sasl.c @@ -1,12 +1,13 @@ /* Copyright (c) 2023 Dovecot authors, see the included COPYING file */ #include "lib.h" + +#if defined(BUILTIN_LDAP) || defined(PLUGIN_BUILD) + #include "ldap-sasl.h" #include "db-ldap.h" #include "db-ldap-sasl.h" -#if defined(BUILTIN_LDAP) || defined(PLUGIN_BUILD) - #include #include