summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-12-01 04:01:56 +0100
committerrofl0r <retnyg@gmx.net>2012-12-01 04:01:56 +0100
commitaabaa41f6252bd02929773973eb875ae84eab173 (patch)
treeed68489b2d612b6e3b6fe6b732f72c1b1fec90d5 /include
parent0f71abdfe515bfc3b846da76571d4dd8a5a75797 (diff)
downloadgettext-tiny-aabaa41f6252bd02929773973eb875ae84eab173.tar.gz
libintl.h: include locale.h
fixes #1
Diffstat (limited to 'include')
-rw-r--r--include/libintl.h4
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