summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-11-23 15:43:13 +0000
committerJim Meyering <jim@meyering.net>2002-11-23 15:43:13 +0000
commit5bd75e7682b00fc8c760cd900fc819195eec3fda (patch)
treea14e8e32b7d55e5816f7c37e260fee6454a520a8 /lib
parent4372bf561910a6330138c570bf8443f7a6f5b2b8 (diff)
downloadcoreutils-5bd75e7682b00fc8c760cd900fc819195eec3fda.tar.xz
Include gettext.h instead of <libintl.h>.
Diffstat (limited to 'lib')
-rw-r--r--lib/userspec.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/userspec.c b/lib/userspec.c
index 1d3df6e44..9def456ad 100644
--- a/lib/userspec.c
+++ b/lib/userspec.c
@@ -68,13 +68,9 @@ char *alloca ();
#include "xalloc.h"
#include "xstrtol.h"
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
-#define N_(Text) Text
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+#define N_(msgid) msgid
#ifndef _POSIX_VERSION
struct passwd *getpwnam ();