diff options
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index c3d25786a64d..5fba1feff2a8 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h | |||
@@ -8,7 +8,13 @@ | |||
8 | 8 | ||
9 | #include "expr.h" | 9 | #include "expr.h" |
10 | 10 | ||
11 | #include <libintl.h> | 11 | #ifndef KBUILD_NO_NLS |
12 | # include <libintl.h> | ||
13 | #else | ||
14 | # define gettext(Msgid) ((const char *) (Msgid)) | ||
15 | # define textdomain(Domainname) ((const char *) (Domainname)) | ||
16 | # define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) | ||
17 | #endif | ||
12 | 18 | ||
13 | #ifdef __cplusplus | 19 | #ifdef __cplusplus |
14 | extern "C" { | 20 | extern "C" { |