summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-02-28 22:53:04 +0300
committerStefan Metzmacher <metze@samba.org>2010-03-03 09:22:38 +0100
commitdb6781833ddae85190a270f481cc2432ff8dc702 (patch)
tree1e715be1e80d7fdb64695f44c9e4c9d45caa18ca /nsswitch
parent3f946240fa892f79c83f9c00f1b16ea73c2ad237 (diff)
downloadsamba-db6781833ddae85190a270f481cc2432ff8dc702.tar.gz
samba-db6781833ddae85190a270f481cc2432ff8dc702.tar.bz2
samba-db6781833ddae85190a270f481cc2432ff8dc702.zip
nsswitch: libpam remove depedance on locale.h use directly LOCALEDIR
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/pam_winbind.c2
-rw-r--r--nsswitch/pam_winbind.h1
2 files changed, 1 insertions, 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 <talloc.h>
#include "libwbclient/wbclient.h"
-#include "localedir.h"
#define MODULE_NAME "pam_winbind"
#define PAM_SM_AUTH