]> err.no Git - linux-2.6/commitdiff
[PATCH] mconf.c needs locale.h
authorJean-Christophe Dubois <jdubois@mc.com>
Sat, 25 Jun 2005 21:55:43 +0000 (14:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:39 +0000 (16:24 -0700)
This is failing on my cross-compilation environment (From a solaris system)
using gcc-3.4.1 (as the compiler can't find a prototype for the setlocale()
function).

Signed-off-by: Jean-Christophe Dubois <jdubois@mc.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
scripts/kconfig/mconf.c

index e5db10ca956420f8a3ba8159597f3c537ef963f5..98039bf721f60cadd382f7321bbf9b845103d374 100644 (file)
@@ -20,6 +20,7 @@
 #include <string.h>
 #include <termios.h>
 #include <unistd.h>
+#include <locale.h>
 
 #define LKC_DIRECT_LINK
 #include "lkc.h"