projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure malloc() is declared.
[tinc]
/
lib
/
gettext.h
diff --git
a/lib/gettext.h
b/lib/gettext.h
index
ad29e0a
..
2b9a16d
100644
(file)
--- a/
lib/gettext.h
+++ b/
lib/gettext.h
@@
-24,6
+24,7
@@
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>
+# include <locale.h>
/* Shorthand notation */
/* Shorthand notation */
@@
-60,6
+61,7
@@
# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
# define _(Text) Text
# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
# define _(Text) Text
+# define setlocale(Category, Locale) ((const char *) (Locale))
#endif
#endif