diff options
Diffstat (limited to 'lib/plpintl.h')
-rw-r--r-- | lib/plpintl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/plpintl.h b/lib/plpintl.h index e28fde0..7eb4da9 100644 --- a/lib/plpintl.h +++ b/lib/plpintl.h @@ -39,6 +39,11 @@ extern inline char * stpcpy(char *dest, const char *src) { } #endif +/* libintl.h includes locale.h only if optimized. + * however, we need LC_ALL ... + */ +#include <locale.h> + #if defined(ENABLE_NLS) && defined(HAVE_GETTEXT) # include <libintl.h> static inline const char *X_(const char *t) { return gettext(t); } |