]> git.meshlink.io Git - meshlink/blobdiff - lib/gettext.h
Small fixes.
[meshlink] / lib / gettext.h
index ad29e0ab4986e9e5bc9dd965635c82c2b3d28e15..2b9a16df37d700a57a0ff036280444cb7417c525 100644 (file)
@@ -24,6 +24,7 @@
 
 /* Get declarations of GNU message catalog functions.  */
 # include <libintl.h>
+# include <locale.h>
 
 /* Shorthand notation */
 
@@ -60,6 +61,7 @@
 # define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
 
 # define _(Text) Text
+# define setlocale(Category, Locale) ((const char *) (Locale))
 
 #endif