script: fix building with --disable-nls
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@alpinelinux.org>
This commit is contained in:
parent
b89fdd9c05
commit
3c911718df
|
@ -55,7 +55,9 @@
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#ifdef ENABLE_NLS
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
Loading…
Reference in New Issue