From b83c9704128dd106071184e4b00335a3b8486857 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 18 Apr 2011 01:19:59 +0200 Subject: [PATCH] build fixes for scripts/kconfig Signed-off-by: Denys Vlasenko --- scripts/kconfig/conf.c | 2 ++ scripts/kconfig/mconf.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 9befa2b54..6e097889f 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c @@ -3,6 +3,8 @@ * Released under the terms of the GNU GPL v2.0. */ +#define _XOPEN_SOURCE 700 + #include #include #include diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index d292b46cc..d3f69f8f5 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c @@ -8,6 +8,8 @@ * i18n, 2005, Arnaldo Carvalho de Melo */ +#define _XOPEN_SOURCE 700 + #include #include #include @@ -18,6 +20,7 @@ #include #include #include +#include /* for strcasecmp */ #include #include #include -- 2.25.1