From: Denis Vlasenko Date: Wed, 22 Aug 2007 18:14:44 +0000 (-0000) Subject: login: fixes for PAM build X-Git-Tag: 1_7_0~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c6c2345ca617f604b20750145b7158893091db60;p=oweals%2Fbusybox.git login: fixes for PAM build --- diff --git a/loginutils/login.c b/loginutils/login.c index b633a7feb..3b4cf2af8 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -15,8 +15,12 @@ #endif #if ENABLE_PAM -#include -#include +/* PAM may include . We may need to undefine bbox's stub define: */ +#undef setlocale +/* For some obscure reason, PAM is not in pam/xxx, but in security/xxx. + * Apparently they like to confuse people. */ +#include +#include static const struct pam_conv conv = { misc_conv, NULL