diff options
author | Tim Potter <tpot@samba.org> | 2003-09-04 03:28:40 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-09-04 03:28:40 +0000 |
commit | d5bd98dd9a01ab9927f0581df0a21fc9f6c25bbf (patch) | |
tree | 9dca04b17e36de62c4f43809cc86e8849c731a08 /source3/nsswitch | |
parent | c7accf6a720d9df0e4cddeeea5ebc53cc382e101 (diff) | |
download | samba-d5bd98dd9a01ab9927f0581df0a21fc9f6c25bbf.tar.gz samba-d5bd98dd9a01ab9927f0581df0a21fc9f6c25bbf.tar.xz samba-d5bd98dd9a01ab9927f0581df0a21fc9f6c25bbf.zip |
More FreeBSD PAM compile fixes. Don't redefine PAM_AUTHTOK_RECOVER_ERR
if it already exists. FreeBSD 4.8 doesn't need the redefinition, 5.0 does.
(This used to be commit 4a3727b03b0488fa82687014cb476b1971a78be8)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/pam_winbind.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h index 865bf7513eb..0afcceb6aa2 100644 --- a/source3/nsswitch/pam_winbind.h +++ b/source3/nsswitch/pam_winbind.h @@ -31,9 +31,12 @@ #define PAM_EXTERN extern #include <security/pam_appl.h> +#ifndef PAM_AUTHTOK_RECOVER_ERR #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR #endif +#endif + #ifdef HAVE_SECURITY_PAM_MODULES_H #include <security/pam_modules.h> #endif |