summaryrefslogtreecommitdiff
path: root/src/libopts
diff options
context:
space:
mode:
Diffstat (limited to 'src/libopts')
-rw-r--r--src/libopts/genshell.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libopts/genshell.h b/src/libopts/genshell.h
index 4c90c9dad0..1115d8fd6b 100644
--- a/src/libopts/genshell.h
+++ b/src/libopts/genshell.h
@@ -140,6 +140,9 @@ extern tOptions genshelloptOptions;
#if defined(ENABLE_NLS)
# ifndef _
+# if defined(HAVE_GETTEXT)
+# include <libintl.h>
+# endif
# include <stdio.h>
static inline char* aoGetsText(char const* pz) {
if (pz == NULL) return NULL;