build fixes for scripts/kconfig

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-04-18 01:19:59 +02:00
parent cfbd31a7fb
commit b83c970412
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,8 @@
* Released under the terms of the GNU GPL v2.0. * Released under the terms of the GNU GPL v2.0.
*/ */
#define _XOPEN_SOURCE 700
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -8,6 +8,8 @@
* i18n, 2005, Arnaldo Carvalho de Melo <acme@conectiva.com.br> * i18n, 2005, Arnaldo Carvalho de Melo <acme@conectiva.com.br>
*/ */
#define _XOPEN_SOURCE 700
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <ctype.h> #include <ctype.h>
@ -18,6 +20,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <strings.h> /* for strcasecmp */
#include <termios.h> #include <termios.h>
#include <unistd.h> #include <unistd.h>
#include <locale.h> #include <locale.h>