From d5bd98dd9a01ab9927f0581df0a21fc9f6c25bbf Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 4 Sep 2003 03:28:40 +0000 Subject: 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) --- source3/nsswitch/pam_winbind.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h index 865bf7513e..0afcceb6aa 100644 --- a/source3/nsswitch/pam_winbind.h +++ b/source3/nsswitch/pam_winbind.h @@ -31,9 +31,12 @@ #define PAM_EXTERN extern #include +#ifndef PAM_AUTHTOK_RECOVER_ERR #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR #endif +#endif + #ifdef HAVE_SECURITY_PAM_MODULES_H #include #endif -- cgit