Commit e92cc097 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-15345 Compilation fails to build my_addr_resolve.c

fix the compilation error.
no support for plugins yet.
parent e4a73acc
......@@ -49,6 +49,13 @@ static const char *strip_path(const char *s)
static bfd *bfdh= 0;
static asymbol **symtable= 0;
#if defined(HAVE_LINK_H) && defined(HAVE_DLOPEN)
#include <link.h>
static ElfW(Addr) offset= 0;
#else
#define offset 0
#endif
/**
finds a file name, a line number, and a function name corresponding to addr.
......
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