busybox: fix a compile error on mac os x
authorFelix Fietkau <nbd@openwrt.org>
Tue, 25 Oct 2011 13:03:18 +0000 (13:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 25 Oct 2011 13:03:18 +0000 (13:03 +0000)
SVN-Revision: 28578

package/busybox/patches/920-portability.patch [new file with mode: 0644]

diff --git a/package/busybox/patches/920-portability.patch b/package/busybox/patches/920-portability.patch
new file mode 100644 (file)
index 0000000..4e5b9a0
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/scripts/kconfig/mconf.c
++++ b/scripts/kconfig/mconf.c
+@@ -25,6 +25,10 @@
+ #include <unistd.h>
+ #include <locale.h>
++#ifndef SIGWINCH
++#define SIGWINCH 28
++#endif
++
+ #define LKC_DIRECT_LINK
+ #include "lkc.h"