mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
ITS#9511 - Stop plugin.c from generating an error when running make depend even if slapi is not enabled
This commit is contained in:
parent
136eedda8f
commit
6cdfc85fc5
@ -21,17 +21,18 @@
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
/*
|
||||
* Note: if ltdl.h is not available, slapi should not be compiled
|
||||
*/
|
||||
|
||||
#ifdef HAVE_LTDL_H
|
||||
#include "ldap_pvt_thread.h"
|
||||
#include "slap.h"
|
||||
#include "slap-config.h"
|
||||
#include "slapi.h"
|
||||
#include "lutil.h"
|
||||
|
||||
/*
|
||||
* Note: if ltdl.h is not available, slapi should not be compiled
|
||||
*/
|
||||
#include <ltdl.h>
|
||||
|
||||
static int slapi_int_load_plugin( Slapi_PBlock *, const char *, const char *, int,
|
||||
SLAPI_FUNC *, lt_dlhandle * );
|
||||
|
||||
@ -827,4 +828,4 @@ slapi_int_plugin_unparse(
|
||||
ber_bvarray_add( out, &bv );
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* HAVE_LTDL_H /*
|
||||
|
Loading…
Reference in New Issue
Block a user