heimdal: Use #ifdef HAVE_DLOPEN around functions and variables used by HAVE_DLOPEN
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:

committed by
Jeffrey Altman

parent
492910ec1e
commit
1c8cae58cc
@@ -209,6 +209,8 @@ struct plugin2 {
|
||||
heim_dict_t names;
|
||||
};
|
||||
|
||||
#ifdef HAVE_DLOPEN
|
||||
|
||||
static void
|
||||
plug_dealloc(void *ptr)
|
||||
{
|
||||
@@ -258,6 +260,7 @@ resolve_origin(const char *di)
|
||||
#endif /* !HAVE_DLADDR */
|
||||
}
|
||||
|
||||
#endif /* HAVE_DLOPEN */
|
||||
|
||||
/**
|
||||
* Load plugins (new system) for the given module @name (typically
|
||||
|
Reference in New Issue
Block a user