diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-18 01:19:59 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-18 01:19:59 +0200 |
commit | b83c9704128dd106071184e4b00335a3b8486857 (patch) | |
tree | ed3b7ee7a41f78f04095859fd2e8d517d77c18b9 | |
parent | cfbd31a7fb0a2e76864432823da1aa956fbdfa25 (diff) | |
download | busybox-w32-b83c9704128dd106071184e4b00335a3b8486857.tar.gz busybox-w32-b83c9704128dd106071184e4b00335a3b8486857.tar.bz2 busybox-w32-b83c9704128dd106071184e4b00335a3b8486857.zip |
build fixes for scripts/kconfig
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | scripts/kconfig/conf.c | 2 | ||||
-rw-r--r-- | 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 9befa2b54..6e097889f 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c | |||
@@ -3,6 +3,8 @@ | |||
3 | * Released under the terms of the GNU GPL v2.0. | 3 | * Released under the terms of the GNU GPL v2.0. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #define _XOPEN_SOURCE 700 | ||
7 | |||
6 | #include <ctype.h> | 8 | #include <ctype.h> |
7 | #include <stdlib.h> | 9 | #include <stdlib.h> |
8 | #include <stdio.h> | 10 | #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 @@ | |||
8 | * i18n, 2005, Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 8 | * i18n, 2005, Arnaldo Carvalho de Melo <acme@conectiva.com.br> |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #define _XOPEN_SOURCE 700 | ||
12 | |||
11 | #include <sys/ioctl.h> | 13 | #include <sys/ioctl.h> |
12 | #include <sys/wait.h> | 14 | #include <sys/wait.h> |
13 | #include <ctype.h> | 15 | #include <ctype.h> |
@@ -18,6 +20,7 @@ | |||
18 | #include <stdarg.h> | 20 | #include <stdarg.h> |
19 | #include <stdlib.h> | 21 | #include <stdlib.h> |
20 | #include <string.h> | 22 | #include <string.h> |
23 | #include <strings.h> /* for strcasecmp */ | ||
21 | #include <termios.h> | 24 | #include <termios.h> |
22 | #include <unistd.h> | 25 | #include <unistd.h> |
23 | #include <locale.h> | 26 | #include <locale.h> |