summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-11-23 15:38:42 +0000
committerJim Meyering <jim@meyering.net>2002-11-23 15:38:42 +0000
commit83415a7c5ff4f656fd740b79717977618468ed62 (patch)
tree414d242d434df20feb14175e59da583bc08845f3 /lib
parentac63441825c5ab9d1b0079022b498f5141cecaf5 (diff)
downloadcoreutils-83415a7c5ff4f656fd740b79717977618468ed62.tar.xz
Include gettext.h instead of <libintl.h>.
Diffstat (limited to 'lib')
-rw-r--r--lib/makepath.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/makepath.c b/lib/makepath.c
index 4f954ba3a..d4eaadeec 100644
--- a/lib/makepath.c
+++ b/lib/makepath.c
@@ -103,16 +103,8 @@ extern int errno;
/* Include this before libintl.h so we get our definition of PARAMS. */
#include "makepath.h"
-#if HAVE_LOCALE_H
-# include <locale.h>
-#endif
-
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
#include "save-cwd.h"
#include "dirname.h"