Mercurial > dropbear
diff svr-authpam.c @ 432:517e76bdfb2d
Make sure the #includes for pam only get hit if PAM is enabled.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 13 Feb 2007 10:30:02 +0000 |
parents | 306499676384 |
children | 4317be8b7cf9 |
line wrap: on
line diff
--- a/svr-authpam.c Mon Feb 12 15:50:21 2007 +0000 +++ b/svr-authpam.c Tue Feb 13 10:30:02 2007 +0000 @@ -31,14 +31,14 @@ #include "dbutil.h" #include "auth.h" +#ifdef ENABLE_SVR_PAM_AUTH + #if defined(HAVE_SECURITY_PAM_APPL_H) #include <security/pam_appl.h> #elif defined (HAVE_PAM_PAM_APPL_H) #include <pam/pam_appl.h> #endif -#ifdef ENABLE_SVR_PAM_AUTH - struct UserDataS { char* user; char* passwd;