Browse Source

busybox: fix a compile error on mac os x

SVN-Revision: 28578
Felix Fietkau 14 years ago
parent
commit
5fa4348a70
1 changed files with 13 additions and 0 deletions
  1. 13 0
      package/busybox/patches/920-portability.patch

+ 13 - 0
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"
+