From: Guus Sliepen Date: Tue, 3 Sep 2002 20:42:05 +0000 (+0000) Subject: Make sure setlocale() is available. X-Git-Tag: release-1.0pre8~40 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=856de4c5fe8acd779aa9277d4554e34ff3625e97 Make sure setlocale() is available. --- diff --git a/lib/gettext.h b/lib/gettext.h index ad29e0ab..ba92769e 100644 --- a/lib/gettext.h +++ b/lib/gettext.h @@ -24,6 +24,7 @@ /* Get declarations of GNU message catalog functions. */ # include +# include /* Shorthand notation */ @@ -60,6 +61,7 @@ # define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset)) # define _(Text) Text +# define setlocale(Category, Locale) ((chonst char *) (Locale)) #endif