From: Bernhard Walle Date: Sun, 17 Jun 2012 23:51:26 +0000 (+0200) Subject: build system: fix build of kconfig on Darwin X-Git-Tag: 1_21_0~128 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9b78e14dfb891e3f53685e284bc9d5e3bf25f5a6;p=oweals%2Fbusybox.git 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 Signed-off-by: Denys Vlasenko --- diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index d3f69f8f5..1b0b6ab07 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c @@ -9,6 +9,8 @@ */ #define _XOPEN_SOURCE 700 +/* On Darwin, this may be needed to get SIGWINCH: */ +#define _DARWIN_C_SOURCE 1 #include #include