From: Jean-Christophe Dubois <jdubois@mc.com> Date: Sat, 25 Jun 2005 21:55:43 +0000 (-0700) Subject: [PATCH] mconf.c needs locale.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=442ff702233287df3f50ec3a7fd0a73d7367cf5a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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> --- 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"