diff --git a/servers/slapd/back-ndb/init.cpp b/servers/slapd/back-ndb/init.cpp index 5330764667..77e4d13f23 100644 --- a/servers/slapd/back-ndb/init.cpp +++ b/servers/slapd/back-ndb/init.cpp @@ -443,6 +443,8 @@ ndb_back_initialize( #if SLAPD_NDB == SLAPD_MOD_DYNAMIC /* conditionally define the init_module() function */ +extern "C" { int init_module( int argc, char *argv[] ); } + SLAP_BACKEND_INIT_MODULE( ndb ) #endif /* SLAPD_NDB == SLAPD_MOD_DYNAMIC */