diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2012-06-18 01:51:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-06-18 01:51:26 +0200 |
commit | 9b78e14dfb891e3f53685e284bc9d5e3bf25f5a6 (patch) | |
tree | 5592ad9bb362a2d10480d79c259aeb3c3adb34de | |
parent | aacd44860129372e5d4ff1494664317f18cbb615 (diff) | |
download | busybox-w32-9b78e14dfb891e3f53685e284bc9d5e3bf25f5a6.tar.gz busybox-w32-9b78e14dfb891e3f53685e284bc9d5e3bf25f5a6.tar.bz2 busybox-w32-9b78e14dfb891e3f53685e284bc9d5e3bf25f5a6.zip |
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>
-rw-r--r-- | scripts/kconfig/mconf.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #define _XOPEN_SOURCE 700 | 11 | #define _XOPEN_SOURCE 700 |
12 | /* On Darwin, this may be needed to get SIGWINCH: */ | ||
13 | #define _DARWIN_C_SOURCE 1 | ||
12 | 14 | ||
13 | #include <sys/ioctl.h> | 15 | #include <sys/ioctl.h> |
14 | #include <sys/wait.h> | 16 | #include <sys/wait.h> |