aboutsummaryrefslogtreecommitdiffstats
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
commite28adb381c841e261f7201f68ad287dc12c8bad5 (patch)
treeaa1655275b40fb663debe12712130b661cbadd2b
parent62fe878cfce46837f7010e127a2dab41f2f1f822 (diff)
downloadupstream-e28adb381c841e261f7201f68ad287dc12c8bad5.tar.gz
upstream-e28adb381c841e261f7201f68ad287dc12c8bad5.tar.bz2
upstream-e28adb381c841e261f7201f68ad287dc12c8bad5.zip
busybox: fix a compile error on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28578 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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"
+