summaryrefslogtreecommitdiffstats
path: root/libidu/xnls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libidu/xnls.h')
-rw-r--r--libidu/xnls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libidu/xnls.h b/libidu/xnls.h
index 4d606e1..6cfa3b1 100644
--- a/libidu/xnls.h
+++ b/libidu/xnls.h
@@ -26,6 +26,9 @@
#if ENABLE_NLS
# define _(Text) gettext (Text)
+# ifdef HAVE_LOCALE_H
+# include <locale.h>
+# endif
#else
# define _(Text) Text
#endif