X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Fpasswd-pam.c;h=324e31fd197188e3e87b5c9192893744f7951124;hp=43f2cbc2cddbaa0ae0d9d6e3815f5ab99a91dc92;hb=a1d41b2aa6e18bf9a49b914a99dda8232c5d7762;hpb=3c58fb6311db49c46f1670922933b27c6ea0c065 diff --git a/driver/passwd-pam.c b/driver/passwd-pam.c index 43f2cbc2..324e31fd 100644 --- a/driver/passwd-pam.c +++ b/driver/passwd-pam.c @@ -69,6 +69,13 @@ extern void unblock_sigchld (void); #undef countof #define countof(x) (sizeof((x))/sizeof(*(x))) +/* Some time between Red Hat 4.2 and 7.0, the words were transposed + in the various PAM_x_CRED macro names. Yay! + */ +#ifndef PAM_REFRESH_CRED +# define PAM_REFRESH_CRED PAM_CRED_REFRESH +#endif + static int pam_conversation (int nmsgs, const struct pam_message **msg, struct pam_response **resp,