aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-25 13:03:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-25 13:03:18 +0000
commit5fa4348a70de98b85720db9789f15ee0b8c2307a (patch)
tree1ec199239c48d2ca56c64bd167a3ecf53bbfb68f /package/busybox/patches
parent2f5cb96222df1f16bd84189d5eed12233f9ffaaf (diff)
downloadupstream-5fa4348a70de98b85720db9789f15ee0b8c2307a.tar.gz
upstream-5fa4348a70de98b85720db9789f15ee0b8c2307a.tar.bz2
upstream-5fa4348a70de98b85720db9789f15ee0b8c2307a.zip
busybox: fix a compile error on mac os x
SVN-Revision: 28578
Diffstat (limited to 'package/busybox/patches')
-rw-r--r--package/busybox/patches/920-portability.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/busybox/patches/920-portability.patch b/package/busybox/patches/920-portability.patch
new file mode 100644
index 0000000000..4e5b9a0576
--- /dev/null
+++ b/package/busybox/patches/920-portability.patch
@@ -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"
+