summaryrefslogtreecommitdiffstats
path: root/include/i18n.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/i18n.h')
-rw-r--r--include/i18n.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/i18n.h b/include/i18n.h
index a75f3c40f..d43c078a6 100644
--- a/include/i18n.h
+++ b/include/i18n.h
@@ -21,6 +21,10 @@
#ifndef G10_I18N_H
#define G10_I18N_H
+#ifdef HAVE_LOCALE_H
+ #include <locale.h> /* suggested by Ernst Molitor */
+#endif
+
#ifdef HAVE_LIBINTL
#include <libintl.h>
#define _(a) gettext (a)