[git commit] build fixes for scripts/kconfig

Denys Vlasenko vda.linux at googlemail.com
Sun Apr 17 23:19:59 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=b83c9704128dd106071184e4b00335a3b8486857
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 scripts/kconfig/conf.c  |    2 ++
 scripts/kconfig/mconf.c |    3 +++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 9befa2b..6e09788 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 d292b46..d3f69f8 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -8,6 +8,8 @@
  * i18n, 2005, Arnaldo Carvalho de Melo <acme at 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>
-- 
1.7.3.4



More information about the busybox-cvs mailing list