build system: fix build of kconfig on Darwin

Of course busybox cannot be used on Darwin (Mac OS X), but it can be
cross-compiled for Linux there. Cross-compilation still requires kconfig
to be built as native host tool.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Bernhard Walle 2012-06-18 01:51:26 +02:00 committed by Denys Vlasenko
parent aacd448601
commit 9b78e14dfb

View File

@ -9,6 +9,8 @@
*/ */
#define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE 700
/* On Darwin, this may be needed to get SIGWINCH: */
#define _DARWIN_C_SOURCE 1
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/wait.h> #include <sys/wait.h>