summaryrefslogtreecommitdiff
path: root/package/busybox/patches/016-fix-musl-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/016-fix-musl-warning.patch')
-rw-r--r--package/busybox/patches/016-fix-musl-warning.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/016-fix-musl-warning.patch b/package/busybox/patches/016-fix-musl-warning.patch
new file mode 100644
index 000000000..3f05e8726
--- /dev/null
+++ b/package/busybox/patches/016-fix-musl-warning.patch
@@ -0,0 +1,12 @@
+diff -Nur busybox-1.21.1.orig/include/libbb.h busybox-1.21.1/include/libbb.h
+--- busybox-1.21.1.orig/include/libbb.h 2013-06-29 16:58:06.000000000 +0200
++++ busybox-1.21.1/include/libbb.h 2013-11-02 16:55:04.000000000 +0100
+@@ -37,7 +37,7 @@
+ #include <libgen.h> /* dirname,basename */
+ #undef basename
+ #define basename dont_use_basename
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
+ #include <sys/socket.h>