X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fserv_ldap.c;h=f3e5a774a64b37cda558ac3f7fe8748f87527167;hp=6d8acc1f77156adea325f90114ce3670456f20d8;hb=01cc19a4c2da27b4db0e980ccd3ca54d834319c8;hpb=03e37ac6a49a6c06b2f1e6aee1c6d1d01836ab07 diff --git a/citadel/serv_ldap.c b/citadel/serv_ldap.c index 6d8acc1f7..f3e5a774a 100644 --- a/citadel/serv_ldap.c +++ b/citadel/serv_ldap.c @@ -31,11 +31,9 @@ #include #include "citadel.h" #include "server.h" -#include "sysdep_decls.h" #include "citserver.h" #include "support.h" #include "config.h" -#include "serv_extensions.h" #include "room_ops.h" #include "policy.h" #include "database.h" @@ -44,6 +42,11 @@ #include "vcard.h" #include "tools.h" + +#include "ctdl_module.h" + + + #ifdef HAVE_LDAP #include @@ -587,7 +590,7 @@ void ctdl_vcard_to_ldap(struct CtdlMessage *msg, int op) { /* * Initialize the LDAP connector module ... or don't, if we don't have LDAP. */ -char *serv_ldap_init(void) +CTDL_MODULE_INIT(ldap) { #ifdef HAVE_LDAP CtdlRegisterCleanupHook(serv_ldap_cleanup);