(xreadlink): Add cast to avoid a warning.
[gnulib.git] / lib / obstack.c
index 7b1206c..0244da3 100644 (file)
@@ -459,7 +459,7 @@ _obstack_memory_used (h)
 \f
 /* 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)