summaryrefslogtreecommitdiffstats
path: root/include/i18n.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/i18n.h')
-rw-r--r--include/i18n.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/i18n.h b/include/i18n.h
index a75f3c40f..55911b474 100644
--- a/include/i18n.h
+++ b/include/i18n.h
@@ -21,8 +21,12 @@
#ifndef G10_I18N_H
#define G10_I18N_H
-#ifdef HAVE_LIBINTL
+#ifdef ENABLE_NLS
+#ifdef HAVE_LIBINTL_H
#include <libintl.h>
+#else
+ #include "../intl/libintl.h"
+#endif
#define _(a) gettext (a)
#ifdef gettext_noop
#define N_(a) gettext_noop (a)