summaryrefslogtreecommitdiff
path: root/libiberty/obstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/obstack.c')
-rw-r--r--libiberty/obstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/obstack.c b/libiberty/obstack.c
index 0d4a4c88949..02560c9e032 100644
--- a/libiberty/obstack.c
+++ b/libiberty/obstack.c
@@ -451,7 +451,7 @@ _obstack_memory_used (h)
/* Define the error handler. */
#ifndef _
-# ifdef HAVE_LIBINTL_H
+# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
# include <libintl.h>
# ifndef _
# define _(Str) gettext (Str)