summaryrefslogtreecommitdiff
path: root/package/busybox
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-09-13 15:57:59 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-09-13 15:57:59 +0000
commit623169bc49167458289bc39c180a41aa43abc361 (patch)
treed57b651f26ff3ff59fb0d6ce4e6b6c383bcfbb24 /package/busybox
parentf2521b81043339c4a4b1d49bef3cba382e63e4d9 (diff)
downloadmtk-20170518-623169bc49167458289bc39c180a41aa43abc361.zip
mtk-20170518-623169bc49167458289bc39c180a41aa43abc361.tar.gz
mtk-20170518-623169bc49167458289bc39c180a41aa43abc361.tar.bz2
busybox: fix build with recent eglibc toolchains
SVN-Revision: 33395
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/patches/005-resource_h_include.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/busybox/patches/005-resource_h_include.patch b/package/busybox/patches/005-resource_h_include.patch
new file mode 100644
index 0000000..d66d66d
--- /dev/null
+++ b/package/busybox/patches/005-resource_h_include.patch
@@ -0,0 +1,10 @@
+--- a/include/libbb.h
++++ b/include/libbb.h
+@@ -35,6 +35,7 @@
+ #include <sys/poll.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
++#include <sys/resource.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>