summary refs log tree commit diff
path: root/malloc/obstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/obstack.c')
-rw-r--r--malloc/obstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 7b1206c13f..0244da3839 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -459,7 +459,7 @@ _obstack_memory_used (h)
 
 /* Define the error handler.  */
 # ifndef _
-#  if defined HAVE_LIBINTL_H || defined _LIBC
+#  if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
 #   include <libintl.h>
 #   ifndef _
 #    define _(Str) gettext (Str)