build system: fix build of kconfig on Darwin
[platform/upstream/busybox.git] / scripts / kconfig / mconf.c
index d3f69f8..1b0b6ab 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #define _XOPEN_SOURCE 700
+/* On Darwin, this may be needed to get SIGWINCH: */
+#define _DARWIN_C_SOURCE 1
 
 #include <sys/ioctl.h>
 #include <sys/wait.h>