diff options
Diffstat (limited to 'crypto/dso/dso_dlfcn.c')
-rw-r--r-- | crypto/dso/dso_dlfcn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index c5edaec4a0..ceeda005f5 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -422,6 +422,7 @@ static int dladdr(void *address, Dl_info *dl) static int dlfcn_pathbyaddr(void *addr,char *path,int sz) { +#ifdef HAVE_DLINFO Dl_info dli; int len; @@ -443,6 +444,7 @@ static int dlfcn_pathbyaddr(void *addr,char *path,int sz) } ERR_add_error_data(4, "dlfcn_pathbyaddr(): ", dlerror()); +#endif return -1; } |