aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-04-18 01:19:59 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-18 01:19:59 +0200
commitb83c9704128dd106071184e4b00335a3b8486857 (patch)
treeed3b7ee7a41f78f04095859fd2e8d517d77c18b9 /scripts/kconfig
parentcfbd31a7fb0a2e76864432823da1aa956fbdfa25 (diff)
downloadbusybox-b83c9704128dd106071184e4b00335a3b8486857.tar.gz
build fixes for scripts/kconfig
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/conf.c2
-rw-r--r--scripts/kconfig/mconf.c3
2 files changed, 5 insertions, 0 deletions
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 <ctype.h>
#include <stdlib.h>
#include <stdio.h>
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 <acme@conectiva.com.br>
*/
+#define _XOPEN_SOURCE 700
+
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <ctype.h>
@@ -18,6 +20,7 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h> /* for strcasecmp */
#include <termios.h>
#include <unistd.h>
#include <locale.h>