From: Guus Sliepen Date: Tue, 3 Sep 2002 20:42:05 +0000 (+0000) Subject: Make sure setlocale() is available. X-Git-Tag: import-tinc-1.1~785^2~254 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=856de4c5fe8acd779aa9277d4554e34ff3625e97;p=meshlink 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