summaryrefslogtreecommitdiff
path: root/package/busybox/patches/920-portability.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-25 13:03:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-25 13:03:18 +0000
commit106feab3ac5a89963e0462d6c60a74231d07cf3b (patch)
treeaa1655275b40fb663debe12712130b661cbadd2b /package/busybox/patches/920-portability.patch
parentda216058d95ac6e64b5934adc9aa129caed1f1b3 (diff)
busybox: fix a compile error on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28578 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/920-portability.patch')
-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"
+