aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Christophe Dubois <jdubois@mc.com>2005-06-25 17:55:43 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:24:39 -0400
commit442ff702233287df3f50ec3a7fd0a73d7367cf5a (patch)
treee186de4d35bc490b5ea6bd47f239ed86552f9d36
parentb0cfbd995d091b10841eeb948976f5d1fbf13cdd (diff)
[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>
-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 @@
20#include <string.h> 20#include <string.h>
21#include <termios.h> 21#include <termios.h>
22#include <unistd.h> 22#include <unistd.h>
23#include <locale.h>
23 24
24#define LKC_DIRECT_LINK 25#define LKC_DIRECT_LINK
25#include "lkc.h" 26#include "lkc.h"