summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/mconf.c
diff options
context:
space:
mode:
authorJean-Christophe Dubois <jdubois@mc.com>2005-06-25 23:55:43 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 01:24:39 +0200
commit442ff702233287df3f50ec3a7fd0a73d7367cf5a (patch)
treee186de4d35bc490b5ea6bd47f239ed86552f9d36 /scripts/kconfig/mconf.c
parent[PATCH] fix for generic_file_write iov problem (diff)
downloadlinux-442ff702233287df3f50ec3a7fd0a73d7367cf5a.tar.xz
linux-442ff702233287df3f50ec3a7fd0a73d7367cf5a.zip
[PATCH] mconf.c needs locale.h
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>
Diffstat (limited to 'scripts/kconfig/mconf.c')
-rw-r--r--scripts/kconfig/mconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index e5db10ca9564..98039bf721f6 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <termios.h>
#include <unistd.h>
+#include <locale.h>
#define LKC_DIRECT_LINK
#include "lkc.h"