diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-08-14 08:50:50 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-08-14 08:50:50 +0000 |
commit | 1c004f2fe64e78613bb318f469e1f4abbb71e467 (patch) | |
tree | cc6be4b97325d18ac4363921a60ad86f8763966f /pam_fshadow/pam_fshadow.c | |
parent | 35c5bc9e42987b1c432c233c910b552fff4dedca (diff) | |
download | pam-modules-1c004f2fe64e78613bb318f469e1f4abbb71e467.tar.gz pam-modules-1c004f2fe64e78613bb318f469e1f4abbb71e467.tar.bz2 |
* pam_fshadow/pam_fshadow.c: Include config.h and time.h
* pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c, pam_sql/pam_sql.c: Use
_pam_log for diagnostics.
* pam_regex/pam_regex.c (pam_sm_authenticate): Remove unused variable.
* configure.ac: New option --enable-debug
* common.c (wait_debug): Bugfix
* pam_log/pam_log.c: Include ctype.h
(parse_priority): Change return type.
* pam_fshadow/Makefile.am, pam_log/Makefile.am,
pam_regex/Makefile.am, pam_sql/Makefile.am: Use CPPFLAGS in cc rules.
git-svn-id: file:///svnroot/pam-modules/trunk@58 56984be4-0537-0410-a56c-fcb268c96130
Diffstat (limited to 'pam_fshadow/pam_fshadow.c')
-rw-r--r-- | pam_fshadow/pam_fshadow.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pam_fshadow/pam_fshadow.c b/pam_fshadow/pam_fshadow.c index 5c43fd5..18accfd 100644 --- a/pam_fshadow/pam_fshadow.c +++ b/pam_fshadow/pam_fshadow.c @@ -17,6 +17,10 @@ /* pam_fshadow */ +#if defined(HAVE_CONFIG_H) +# include <config.h> +#endif + #include <security/_pam_aconf.h> #include <stdlib.h> @@ -25,6 +29,7 @@ #include <string.h> #include <syslog.h> #include <stdarg.h> +#include <time.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> |