Commit 6cdfc85f authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#9511 - Stop plugin.c from generating an error when running make depend...

ITS#9511 - Stop plugin.c from generating an error when running make depend even if slapi is not enabled
parent 136eedda
Pipeline #2424 failed with stage
in 43 minutes and 11 seconds
......@@ -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 /*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment