[package] busybox: fix build with recent eglibc toolchains
authorFlorian Fainelli <florian@openwrt.org>
Thu, 13 Sep 2012 15:57:59 +0000 (15:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 13 Sep 2012 15:57:59 +0000 (15:57 +0000)
SVN-Revision: 33395

package/busybox/patches/005-resource_h_include.patch [new file with mode: 0644]

diff --git a/package/busybox/patches/005-resource_h_include.patch b/package/busybox/patches/005-resource_h_include.patch
new file mode 100644 (file)
index 0000000..d66d66d
--- /dev/null
@@ -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>