changeset 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 126687f635dc
children c216212001fc
files svr-authpam.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;