diff options
author | Michael Widenius <monty@askmonty.org> | 2012-02-21 17:58:43 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-02-21 17:58:43 +0200 |
commit | 6fbeed067b25a07542dd989b7a816969615d7df6 (patch) | |
tree | 91a1356648c282490729afd22476e9cf3b7fd0dc /plugin/auth_pam | |
parent | 446554a15bd84f39ec4a8163e9f4456fa9be8fb2 (diff) | |
download | mariadb-git-6fbeed067b25a07542dd989b7a816969615d7df6.tar.gz |
Fixed that 'make distcheck' works with automake 1.11.11
Fixed compiler warnings found by buildbot
Makefile.am:
Removed extra empty line
cmd-line-utils/libedit/sys.h:
Fixed that strndup() doesn't give compiler warnings
mysql-test/Makefile.am:
Fixes for 'make distcheck'
plugin/auth_pam/auth_pam.c:
Ensure that prototype for strndup() is included on linux
sql/share/Makefile.am:
Fixes for 'make distcheck'
storage/innodb_plugin/btr/btr0sea.c:
Fixed compiler warning
support-files/Makefile.am:
Fixes for 'make distcheck'
Diffstat (limited to 'plugin/auth_pam')
-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 ee13b37f793..de62ebf8dbd 100644 --- a/plugin/auth_pam/auth_pam.c +++ b/plugin/auth_pam/auth_pam.c @@ -1,3 +1,7 @@ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE /* For strndup() */ +#endif + #include <mysql/plugin_auth.h> #include <string.h> #include <my_config.h> |