summaryrefslogtreecommitdiff
path: root/security/pam_alreadyloggedin/files/patch-pam_alreadyloggedin.c
blob: f676d9a38c5de624657b13867d4eedede806db25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)