diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-02-24 14:37:00 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-02-24 14:37:00 +0100 |
commit | 3f28115e0ee810de2772fdc69d6965058a0b5d2f (patch) | |
tree | a14bb01c316d353c5b6c217b7198cf4148ae50e5 /plugin | |
parent | db39910f080534159ce8c7d55fa458365de7c3f3 (diff) | |
parent | c068b831aca6334c6dea01fd9ff54b6140a52ef6 (diff) | |
download | mariadb-git-3f28115e0ee810de2772fdc69d6965058a0b5d2f.tar.gz |
5.3 merge
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/auth_pam/auth_pam.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/auth_pam/auth_pam.c b/plugin/auth_pam/auth_pam.c index fbe2edff449..6507c482ef9 100644 --- a/plugin/auth_pam/auth_pam.c +++ b/plugin/auth_pam/auth_pam.c @@ -14,6 +14,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE /* For strndup() */ +#endif + #include <mysql/plugin_auth.h> #include <string.h> #include <my_config.h> |