ITS#9511 - Stop plugin.c from generating an error when running make depend even if slapi is not enabled

This commit is contained in:
Quanah Gibson-Mount 2021-04-01 22:46:11 +00:00
parent 136eedda8f
commit 6cdfc85fc5

View File

@ -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 /*