We should only include the libintl.h when NLS is requested. This fixes issue when building util-linux with uClibc. Signed-off-by: Natanael Copa <ncopa@xxxxxxxxxxxxxxx> --- term-utils/script.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/term-utils/script.c b/term-utils/script.c index d96ca2f..99748a1 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -55,7 +55,9 @@ #include <getopt.h> #include <unistd.h> #include <fcntl.h> +#ifdef ENABLE_NLS #include <libintl.h> +#endif #include <limits.h> #include <locale.h> #include <stddef.h> -- 1.7.6.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html