| 1 | diff -Naur busybox-1.19.3-old/include/platform.h busybox-1.19.3/include/platform.h |
| 2 | --- busybox-1.19.3-old/include/platform.h 2011-10-29 05:43:01.000000000 -0600 |
| 3 | +++ busybox-1.19.3/include/platform.h 2011-12-18 15:53:49.817278374 -0700 |
| 4 | @@ -443,6 +443,13 @@ |
| 5 | # undef HAVE_NET_ETHERNET_H |
| 6 | #endif |
| 7 | |
| 8 | +#if defined(__musl__) |
| 9 | +# undef HAVE_SETBIT |
| 10 | +# include <stddef.h> |
| 11 | +# include <termios.h> |
| 12 | +# include <sys/ioctl.h> |
| 13 | +#endif |
| 14 | + |
| 15 | /* |
| 16 | * Now, define prototypes for all the functions defined in platform.c |
| 17 | * These must come after all the HAVE_* macros are defined (or not) |
| 18 | |