Add definition of U_ for --disable-nsl

Don't define warning_gettext if --disable-nsl
Bug #621; from Daniel Richard G.
This commit is contained in:
Todd C. Miller
2013-11-19 09:45:13 -07:00
parent 0a7ebf8b23
commit 054a94e6c9
3 changed files with 5 additions and 0 deletions

View File

@@ -25,9 +25,11 @@
#include "fatal.h"
#include "gettext.h"
#ifdef HAVE_LIBINTL_H
/* No need to swap locales in the front end. */
char *
warning_gettext(const char *msgid)
{
return gettext(msgid);
}
#endif /* HAVE_LIBINTL_H */