projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5750782
)
login: fixes for PAM build
author
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 22 Aug 2007 18:14:44 +0000
(18:14 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 22 Aug 2007 18:14:44 +0000
(18:14 -0000)
loginutils/login.c
patch
|
blob
|
history
diff --git
a/loginutils/login.c
b/loginutils/login.c
index b633a7feb5f66e38928b3008482087ce2f8924dc..3b4cf2af8c113e42af5ad75bb98ccbc20dde4148 100644
(file)
--- a/
loginutils/login.c
+++ b/
loginutils/login.c
@@
-15,8
+15,12
@@
#endif
#if ENABLE_PAM
-#include <pam/pam_appl.h>
-#include <pam/pam_misc.h>
+/* PAM may include <locale.h>. 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 <security/pam_appl.h>
+#include <security/pam_misc.h>
static const struct pam_conv conv = {
misc_conv,
NULL