mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 20:25:12 +00:00
Fixed compilation by adding missing header libintl.h
This commit is contained in:
parent
7f0a68f8d6
commit
afe293c20a
1 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,10 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#if HAVE_GETTEXT
|
||||||
|
#include <libintl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAVE_NCURSES_H
|
#if HAVE_NCURSES_H
|
||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
#else
|
#else
|
||||||
|
@ -1162,7 +1166,7 @@ char *fish_textdomain(const char * domainname)
|
||||||
|
|
||||||
char *fish_dcgettext(const char * domainname, const char * msgid, int category)
|
char *fish_dcgettext(const char * domainname, const char * msgid, int category)
|
||||||
{
|
{
|
||||||
return dcgettext(msgid);
|
return dcgettext(domainname, msgid, category);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue