about summary refs log tree commit diff
path: root/argp/argp-help.c
diff options
context:
space:
mode:
Diffstat (limited to 'argp/argp-help.c')
-rw-r--r--argp/argp-help.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/argp/argp-help.c b/argp/argp-help.c
index d378faa4a5..5810e70329 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -57,6 +57,10 @@ char *alloca ();
 /* This is for other GNU distributions with internationalized messages.  */
 # if defined HAVE_LIBINTL_H || defined _LIBC
 #  include <libintl.h>
+#  ifdef _LIBC
+#   undef dgettext
+#   define dgettext(domain, msgid) __dcgettext (domain, msgid, LC_MESSAGES)
+#  endif
 # else
 #  define dgettext(domain, msgid) (msgid)
 # endif