summaryrefslogtreecommitdiff
path: root/modules/pam_shells/pam_shells.c
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2003-11-25 09:06:54 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2003-11-25 09:06:54 +0000
commitd8eba606078c57e5480a82b5c1a1c9df4cf83a01 (patch)
treee3966a524324dec4515e71972ddc52dfe3015b4d /modules/pam_shells/pam_shells.c
parent18e6fba994dd532827d3dda91d290ff4c73fa318 (diff)
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/pam_shells/pam_shells.c')
-rw-r--r--modules/pam_shells/pam_shells.c1
1 files changed, 1 insertions, 0 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>