diff options
author | Jim Meyering <jim@meyering.net> | 2002-11-23 15:38:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-11-23 15:38:42 +0000 |
commit | 83415a7c5ff4f656fd740b79717977618468ed62 (patch) | |
tree | 414d242d434df20feb14175e59da583bc08845f3 | |
parent | ac63441825c5ab9d1b0079022b498f5141cecaf5 (diff) | |
download | coreutils-83415a7c5ff4f656fd740b79717977618468ed62.tar.xz |
Include gettext.h instead of <libintl.h>.
-rw-r--r-- | lib/makepath.c | 12 |
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" |