Skip to content
Snippets Groups Projects
Commit 41fd735d authored by Matt Johnston's avatar Matt Johnston
Browse files

Make sure the #includes for pam only get hit if PAM is enabled.

--HG--
extra : convert_revision : f9c35e0ebbcb2d5821d871db343ec2041cdb6ef3
parent 4941c434
Branches
Tags
No related merge requests found
...@@ -31,14 +31,14 @@ ...@@ -31,14 +31,14 @@
#include "dbutil.h" #include "dbutil.h"
#include "auth.h" #include "auth.h"
#ifdef ENABLE_SVR_PAM_AUTH
#if defined(HAVE_SECURITY_PAM_APPL_H) #if defined(HAVE_SECURITY_PAM_APPL_H)
#include <security/pam_appl.h> #include <security/pam_appl.h>
#elif defined (HAVE_PAM_PAM_APPL_H) #elif defined (HAVE_PAM_PAM_APPL_H)
#include <pam/pam_appl.h> #include <pam/pam_appl.h>
#endif #endif
#ifdef ENABLE_SVR_PAM_AUTH
struct UserDataS { struct UserDataS {
char* user; char* user;
char* passwd; char* passwd;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment