diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2003-11-25 09:06:54 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2003-11-25 09:06:54 +0000 |
commit | d8eba606078c57e5480a82b5c1a1c9df4cf83a01 (patch) | |
tree | e3966a524324dec4515e71972ddc52dfe3015b4d /modules | |
parent | 18e6fba994dd532827d3dda91d290ff4c73fa318 (diff) | |
download | pam-d8eba606078c57e5480a82b5c1a1c9df4cf83a01.tar.gz pam-d8eba606078c57e5480a82b5c1a1c9df4cf83a01.tar.bz2 pam-d8eba606078c57e5480a82b5c1a1c9df4cf83a01.zip |
Relevant BUGIDs: 848337
Purpose of commit: bugfix
Commit summary:
---------------
pam_shells uses strlen/strcmp, but does not
include the corresponding string.h header file.
This could lead to problems on architectures,
where gcc needs a correct prototype to generate
correct calling code.
pam_stress.c complains about a redefined
__USE_BSD symbol. This is a internal glibc
define and should not be used in source code.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pam_shells/pam_shells.c | 1 | ||||
-rw-r--r-- | modules/pam_stress/pam_stress.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_shells/pam_shells.c b/modules/pam_shells/pam_shells.c index b70ba030..37d740dc 100644 --- a/modules/pam_shells/pam_shells.c +++ b/modules/pam_shells/pam_shells.c @@ -12,6 +12,7 @@ #include <pwd.h> #include <stdarg.h> +#include <string.h> #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> diff --git a/modules/pam_stress/pam_stress.c b/modules/pam_stress/pam_stress.c index f5126fd2..7828f421 100644 --- a/modules/pam_stress/pam_stress.c +++ b/modules/pam_stress/pam_stress.c @@ -10,7 +10,6 @@ #include <stdlib.h> #include <stdio.h> -#define __USE_BSD #include <syslog.h> #include <stdarg.h> |