summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/paper/paper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/i18npool/source/paper/paper.cxx b/i18npool/source/paper/paper.cxx
index 937db353e6c5..913cc7d834ed 100644
--- a/i18npool/source/paper/paper.cxx
+++ b/i18npool/source/paper/paper.cxx
@@ -49,8 +49,10 @@
#include <stdio.h>
#include <string.h>
#include <locale.h>
+#if defined(LC_PAPER) && defined(_GNU_SOURCE)
#include <langinfo.h>
#endif
+#endif
struct PageDesc
{