diff options
Diffstat (limited to 'include/pamfail.h')
-rw-r--r-- | include/pamfail.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/pamfail.h b/include/pamfail.h index e102df227..bb83b9404 100644 --- a/include/pamfail.h +++ b/include/pamfail.h @@ -6,7 +6,11 @@ */ #ifndef UTIL_LINUX_PAMFAIL_H #include <security/pam_appl.h> -#include <security/pam_misc.h> +#ifdef HAVE_SECURITY_PAM_MISC_H +# include <security/pam_misc.h> +#elif defined(HAVE_SECURITY_OPENPAM_H) +# include <security/openpam.h> +#endif #include "c.h" static inline int |