Commit 442ff702233287df3f50ec3a7fd0a73d7367cf5a

Authored by Jean-Christophe Dubois
Committed by Linus Torvalds
1 parent b0cfbd995d

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

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

scripts/kconfig/mconf.c
... ... @@ -20,6 +20,7 @@
20 20 #include <string.h>
21 21 #include <termios.h>
22 22 #include <unistd.h>
  23 +#include <locale.h>
23 24  
24 25 #define LKC_DIRECT_LINK
25 26 #include "lkc.h"