From db6781833ddae85190a270f481cc2432ff8dc702 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 28 Feb 2010 22:53:04 +0300 Subject: [PATCH] nsswitch: libpam remove depedance on locale.h use directly LOCALEDIR Signed-off-by: Stefan Metzmacher --- nsswitch/pam_winbind.c | 2 +- nsswitch/pam_winbind.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index 82c8c4d0e2..268939076b 100644 --- a/nsswitch/pam_winbind.c +++ b/nsswitch/pam_winbind.c @@ -156,7 +156,7 @@ static inline void textdomain_init(void); static inline void textdomain_init(void) { if (!initialized) { - bindtextdomain(MODULE_NAME, dyn_LOCALEDIR); + bindtextdomain(MODULE_NAME, LOCALEDIR); initialized = 1; } return; diff --git a/nsswitch/pam_winbind.h b/nsswitch/pam_winbind.h index 25d673e231..ed924794c4 100644 --- a/nsswitch/pam_winbind.h +++ b/nsswitch/pam_winbind.h @@ -9,7 +9,6 @@ #include "system/time.h" #include #include "libwbclient/wbclient.h" -#include "localedir.h" #define MODULE_NAME "pam_winbind" #define PAM_SM_AUTH -- 2.34.1