diff options
| author | Jean-Christophe Dubois <jdubois@mc.com> | 2005-06-25 17:55:43 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:39 -0400 |
| commit | 442ff702233287df3f50ec3a7fd0a73d7367cf5a (patch) | |
| tree | e186de4d35bc490b5ea6bd47f239ed86552f9d36 /scripts | |
| parent | b0cfbd995d091b10841eeb948976f5d1fbf13cdd (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>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/mconf.c | 1 |
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" |
