diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-22 18:14:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-22 18:14:44 +0000 |
commit | c6c2345ca617f604b20750145b7158893091db60 (patch) | |
tree | d29a97d98832e074bd680c94e6c9d4d20c42eae2 | |
parent | 5750782fca4241725a84c59e0bf781b3d141d43e (diff) | |
download | busybox-w32-c6c2345ca617f604b20750145b7158893091db60.tar.gz busybox-w32-c6c2345ca617f604b20750145b7158893091db60.tar.bz2 busybox-w32-c6c2345ca617f604b20750145b7158893091db60.zip |
login: fixes for PAM build
-rw-r--r-- | loginutils/login.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 @@ | |||
15 | #endif | 15 | #endif |
16 | 16 | ||
17 | #if ENABLE_PAM | 17 | #if ENABLE_PAM |
18 | #include <pam/pam_appl.h> | 18 | /* PAM may include <locale.h>. We may need to undefine bbox's stub define: */ |
19 | #include <pam/pam_misc.h> | 19 | #undef setlocale |
20 | /* For some obscure reason, PAM is not in pam/xxx, but in security/xxx. | ||
21 | * Apparently they like to confuse people. */ | ||
22 | #include <security/pam_appl.h> | ||
23 | #include <security/pam_misc.h> | ||
20 | static const struct pam_conv conv = { | 24 | static const struct pam_conv conv = { |
21 | misc_conv, | 25 | misc_conv, |
22 | NULL | 26 | NULL |