diff options
author | rofl0r <retnyg@gmx.net> | 2012-12-01 04:01:56 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-12-01 04:01:56 +0100 |
commit | aabaa41f6252bd02929773973eb875ae84eab173 (patch) | |
tree | ed68489b2d612b6e3b6fe6b732f72c1b1fec90d5 /include | |
parent | 0f71abdfe515bfc3b846da76571d4dd8a5a75797 (diff) | |
download | gettext-tiny-aabaa41f6252bd02929773973eb875ae84eab173.tar.gz |
libintl.h: include locale.h
fixes #1
Diffstat (limited to 'include')
-rw-r--r-- | include/libintl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libintl.h b/include/libintl.h index 3a542d5..7fe915c 100644 --- a/include/libintl.h +++ b/include/libintl.h @@ -24,5 +24,9 @@ char *bindtextdomain(const char *domainname, const char *dirname); #include <stdio.h> #define gettext_printf(args...) printf(args) +/* to supply LC_MESSAGES and other stuff GNU expects to be exported when + including libintl.h */ +#include <locale.h> + #endif |