From 8385813a5af57536809ca9d0ed7a745bc44c0bc2 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 26 Aug 2008 22:25:35 +0000 Subject: [PATCH] Fix dynamic module init --- servers/slapd/back-ndb/init.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.39.5