Skip to content

Commit

Permalink
MDEV-8131 MariaDB does not build on hurd-i386: plugin/auth_dialog/dia…
Browse files Browse the repository at this point in the history
…log.c:172:20: error: 'RTLD_DEFAULT' undeclared

define _GNU_SORUCE before including dlfcn.h
  • Loading branch information
vuvova committed Jun 15, 2015
1 parent 3288f26 commit a117030
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/auth_dialog/dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit a117030

Please sign in to comment.