mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Fixed compilation by adding missing header libintl.h
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
#include <limits.h>
|
||||
#include <assert.h>
|
||||
|
||||
#if HAVE_GETTEXT
|
||||
#include <libintl.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
@@ -1162,7 +1166,7 @@ char *fish_textdomain(const char * domainname)
|
||||
|
||||
char *fish_dcgettext(const char * domainname, const char * msgid, int category)
|
||||
{
|
||||
return dcgettext(msgid);
|
||||
return dcgettext(domainname, msgid, category);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user