diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-12 01:26:33 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-12 01:27:10 +0300 |
commit | abe7861ba3dabd64c3d3f0b84d73197894e85335 (patch) | |
tree | 432ee11e579f53017a94fcb5a3dd06bb83928e84 /i18npool | |
parent | 1f769646a9b72e47986f9747e56d82171e846f44 (diff) |
Don't include <langinfo.h> unless needed
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/paper/paper.cxx | 2 |
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 { |