summaryrefslogtreecommitdiffhomepage
path: root/svr-authpam.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-02-13 10:30:02 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-02-13 10:30:02 +0000
commit41fd735d4b7918b3285ed40c8c5756ef07a70f04 (patch)
treefb4f3babdd3fe285d43c4d88f08198973f18b57c /svr-authpam.c
parent4941c43429c78a4f207a2d46cd18ee2815d8a2bd (diff)
Make sure the #includes for pam only get hit if PAM is enabled.
--HG-- extra : convert_revision : f9c35e0ebbcb2d5821d871db343ec2041cdb6ef3
Diffstat (limited to 'svr-authpam.c')
-rw-r--r--svr-authpam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-authpam.c b/svr-authpam.c
index 4e257ae..ee7d6ba 100644
--- a/svr-authpam.c
+++ b/svr-authpam.c
@@ -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;