From: Jim Meyering Date: Sat, 23 Nov 2002 15:38:42 +0000 (+0000) Subject: Include gettext.h instead of . X-Git-Tag: v4.5.4~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83415a7c5ff4f656fd740b79717977618468ed62;p=thirdparty%2Fcoreutils.git Include gettext.h instead of . --- diff --git a/lib/makepath.c b/lib/makepath.c index 4f954ba3a0..d4eaadeec2 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 -#endif - -#if ENABLE_NLS -# include -# define _(Text) gettext (Text) -#else -# define _(Text) Text -#endif +#include "gettext.h" +#define _(msgid) gettext (msgid) #include "save-cwd.h" #include "dirname.h"