# HG changeset patch # User Matt Johnston # Date 1171362602 0 # Node ID 517e76bdfb2d1473c28ecf90ddacc375ad6ce82e # Parent 126687f635dca2ac7b3bab63602a5c60f0254ae2 Make sure the #includes for pam only get hit if PAM is enabled. diff -r 126687f635dc -r 517e76bdfb2d svr-authpam.c --- 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 #elif defined (HAVE_PAM_PAM_APPL_H) #include #endif -#ifdef ENABLE_SVR_PAM_AUTH - struct UserDataS { char* user; char* passwd;