mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-22 02:35:14 +08:00
Fixed compilation by adding missing header libintl.h
This commit is contained in:
parent
7f0a68f8d6
commit
afe293c20a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user