summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Christophe Dubois <jdubois@mc.com>2005-06-25 14:55:43 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 16:24:39 -0700
commit442ff702233287df3f50ec3a7fd0a73d7367cf5a (patch)
treee186de4d35bc490b5ea6bd47f239ed86552f9d36
parentb0cfbd995d091b10841eeb948976f5d1fbf13cdd (diff)
downloadkernel-crypto-442ff702233287df3f50ec3a7fd0a73d7367cf5a.tar.gz
kernel-crypto-442ff702233287df3f50ec3a7fd0a73d7367cf5a.tar.xz
kernel-crypto-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>
-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 e5db10ca956..98039bf721f 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"