changeset 127:33d976eeb859

put the #ifdefs back in for authpam
author Matt Johnston <matt@ucc.asn.au>
date Tue, 14 Sep 2004 14:36:42 +0000
parents 4562a2f4d690
children 66087d87c355
files svr-authpam.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/svr-authpam.c	Tue Sep 14 13:47:10 2004 +0000
+++ b/svr-authpam.c	Tue Sep 14 14:36:42 2004 +0000
@@ -37,6 +37,8 @@
 #include <pam/pam_appl.h>
 #endif
 
+#ifdef ENABLE_SVR_PAM_AUTH
+
 struct UserDataS {
 	char* user;
 	char* passwd;
@@ -217,3 +219,5 @@
 		(void) pam_end(pamHandlep, 0 /* pam_status */);
 	}
 }
+
+#endif /* ENABLE_SVR_PAM_AUTH */