aboutsummaryrefslogtreecommitdiff
path: root/libpam_misc
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2024-08-21 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2024-08-21 08:00:00 +0000
commit4d1d4f699551f395be065e60513eaf85f01b84e6 (patch)
tree8b0b0139fefd441815f5a5bbdebb29ef2b736873 /libpam_misc
parent1ef2c9a2266f71639cf3c81bd5ee2031051a7cb4 (diff)
downloadpam-4d1d4f699551f395be065e60513eaf85f01b84e6.tar.gz
pam-4d1d4f699551f395be065e60513eaf85f01b84e6.tar.bz2
pam-4d1d4f699551f395be065e60513eaf85f01b84e6.zip
Include pam_i18n.h where i18n definitions are required
Do not include <libintl.h> and other i18n stuff via config.h which is included into every compilation unit, include "pam_i18n.h" explicitly where necessary. * configure.ac (AH_BOTTOM): Remove. * libpam/pam_get_authtok.c: Include "pam_i18n.h". * libpam/pam_item.c: Likewise. * libpam/pam_strerror.c: Likewise. * libpam_misc/misc_conv.c: Likewise. * modules/pam_exec/pam_exec.c: Likewise. * modules/pam_faillock/main.c: Likewise. * modules/pam_faillock/pam_faillock.c: Likewise. * modules/pam_lastlog/pam_lastlog.c: Likewise. * modules/pam_limits/pam_limits.c: Likewise. * modules/pam_mail/pam_mail.c: Likewise. * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise. * modules/pam_pwhistory/pam_pwhistory.c: Likewise. * modules/pam_selinux/pam_selinux.c: Likewise. * modules/pam_selinux/pam_selinux_check.c: Likewise. * modules/pam_timestamp/pam_timestamp.c: Likewise. * modules/pam_unix/pam_unix_acct.c: Likewise. * modules/pam_unix/pam_unix_passwd.c: Likewise. * modules/pam_userdb/pam_userdb.c: Likewise.
Diffstat (limited to 'libpam_misc')
-rw-r--r--libpam_misc/misc_conv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpam_misc/misc_conv.c b/libpam_misc/misc_conv.c
index 6b839b48..fa3848e3 100644
--- a/libpam_misc/misc_conv.c
+++ b/libpam_misc/misc_conv.c
@@ -17,7 +17,9 @@
#include <security/pam_appl.h>
#include <security/pam_misc.h>
+
#include "pam_inline.h"
+#include "pam_i18n.h"
#define INPUTSIZE PAM_MISC_CONV_BUFSIZE /* maximum length of input+1 */
#define CONV_ECHO_ON 1 /* types of echo state */