[PATCH] script.c: drop libintl.h include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 8fb810ff26 (script: include-what-you-use header check) added a
<libintl.h> #include, which isn't needed as nls.h includes it (if
enabled) - But worse, breaks the build for systems without libintl.h
(like some uClibc configurations).

Signed-off-by: Peter Korsgaard <jacmet@xxxxxxxxxx>
---
 term-utils/script.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/term-utils/script.c b/term-utils/script.c
index d96ca2f..f708e91 100644
--- a/term-utils/script.c
+++ b/term-utils/script.c
@@ -55,7 +55,6 @@
 #include <getopt.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <libintl.h>
 #include <limits.h>
 #include <locale.h>
 #include <stddef.h>
-- 
1.7.5.4

--
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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux