summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getopt.c b/lib/getopt.c
index 1cefc1082..2df545a89 100644
--- a/lib/getopt.c
+++ b/lib/getopt.c
@@ -88,7 +88,7 @@
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
-#ifdef HAVE_LIBINTL_H
+#if defined (HAVE_LIBINTL_H) || defined (ENABLE_NLS)
# include <libintl.h>
# define _(msgid) gettext (msgid)
#else