]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: db-ldap-sasl - Fix compile without LDAP and without installed LDAP development...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Sat, 11 Oct 2025 13:46:56 +0000 (15:46 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Sat, 11 Oct 2025 13:46:56 +0000 (15:46 +0200)
src/auth/db-ldap-sasl.c

index 5abac0fe81b57da509049b74b8a006b99597ab04..5512123415a6cb26d8fd3a067a4836121f1c85dc 100644 (file)
@@ -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 <stddef.h>
 #include <unistd.h>