summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-22 20:10:17 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-22 20:10:17 +0100
commit207230b72a2c9df950ef53a1b8c469a823749830 (patch)
tree574b0e040cd2857d43449f014c2cd568bb79db31
parent7b8a83d03a3eb22860ce739adeb91b8039cd5a5c (diff)
downloadgnutls-207230b72a2c9df950ef53a1b8c469a823749830.tar.gz
include libintl. Patch by B. Scott Michel
-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;