login: fixes for PAM build
This commit is contained in:
parent
5750782fca
commit
c6c2345ca6
@ -15,8 +15,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLE_PAM
|
#if ENABLE_PAM
|
||||||
#include <pam/pam_appl.h>
|
/* PAM may include <locale.h>. We may need to undefine bbox's stub define: */
|
||||||
#include <pam/pam_misc.h>
|
#undef setlocale
|
||||||
|
/* For some obscure reason, PAM is not in pam/xxx, but in security/xxx.
|
||||||
|
* Apparently they like to confuse people. */
|
||||||
|
#include <security/pam_appl.h>
|
||||||
|
#include <security/pam_misc.h>
|
||||||
static const struct pam_conv conv = {
|
static const struct pam_conv conv = {
|
||||||
misc_conv,
|
misc_conv,
|
||||||
NULL
|
NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user