aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_alreadyloggedin/files/patch-pam_alreadyloggedin.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam_alreadyloggedin/files/patch-pam_alreadyloggedin.c')
-rw-r--r--security/pam_alreadyloggedin/files/patch-pam_alreadyloggedin.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/pam_alreadyloggedin/files/patch-pam_alreadyloggedin.c b/security/pam_alreadyloggedin/files/patch-pam_alreadyloggedin.c
new file mode 100644
index 00000000000..f676d9a38c5
--- /dev/null
+++ b/security/pam_alreadyloggedin/files/patch-pam_alreadyloggedin.c
@@ -0,0 +1,14 @@
+--- pam_alreadyloggedin.c.orig Tue Sep 21 17:41:20 2004
++++ pam_alreadyloggedin.c Thu Dec 23 00:58:02 2004
+@@ -70,6 +70,11 @@
+ int inutmp(struct utmp *utmp, const char *lineglob, const char *username,
+ uid_t uid);
+
++#ifdef PAM_MAX_OPTIONS
++/* The old PAM requires this structure. */
++static struct options options;
++#endif
++
+ PAM_EXTERN int
+ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, int argc,
+ const char **argv)