debugfs: fix build on systems that don't have gettext built-in

Debugfs (unlike all of the other programs in e2fsprogs) is not set up
to use translated strings.  So when building misc/plausible.c for
debugfs, we need to disable NLS.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
crypto
Theodore Ts'o 2014-10-18 09:13:09 -04:00
parent 9ed2c124f3
commit 831aa869e8
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#ifdef ENABLE_NLS
#if defined(ENABLE_NLS) && !defined(DEBUGFS)
#include <libintl.h>
#include <locale.h>
#define _(a) (gettext (a))