diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-06-14 18:46:02 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-06-15 11:07:59 +0200 |
commit | a1170303772cd083290fd09ebbd3f0d6dd305299 (patch) | |
tree | dd01366d47d5432286ad4fe9451caef48172dfad /plugin/auth_dialog | |
parent | 3288f2667a9be08df77b139f5b538a32f2972b63 (diff) | |
download | mariadb-git-a1170303772cd083290fd09ebbd3f0d6dd305299.tar.gz |
MDEV-8131 MariaDB does not build on hurd-i386: plugin/auth_dialog/dialog.c:172:20: error: 'RTLD_DEFAULT' undeclared
define _GNU_SORUCE before including dlfcn.h
Diffstat (limited to 'plugin/auth_dialog')
-rw-r--r-- | plugin/auth_dialog/dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/auth_dialog/dialog.c b/plugin/auth_dialog/dialog.c index 0fa5ab93a35..da937ea6e91 100644 --- a/plugin/auth_dialog/dialog.c +++ b/plugin/auth_dialog/dialog.c @@ -25,6 +25,8 @@ the answer back to the server. No encryption is involved, the answers are sent in clear text. */ +#define _GNU_SOURCE 1 /* for RTLD_DEFAULT */ + #include <my_global.h> #include <mysql/client_plugin.h> #include <mysql.h> |