include security/pam_appl.h only when PAM is enabled

This commit is contained in:
Nikos Mavrogiannopoulos
2015-02-26 20:36:20 +01:00
parent f725c08576
commit 24842d837e

View File

@@ -21,7 +21,11 @@
#ifndef PAM_H
#define PAM_H
#include <config.h>
#include <sec-mod-auth.h>
#ifdef HAVE_PAM
#include <security/pam_appl.h>
#include <str.h>
#include <pcl.h>
@@ -42,5 +46,6 @@ struct pam_ctx_st {
unsigned state; /* PAM_S_ */
};
#endif
#endif