aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-09-27 09:21:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-09-27 09:21:01 +0000
commit4ea68a13e3195576ae87589b12f3a3639358fb5f (patch)
treef88be0f72283cb59f8a45b5cd2f3b7d196b4a758 /target/linux
parent68f8db67316914937e9a361a95e812218c01252a (diff)
downloadupstream-4ea68a13e3195576ae87589b12f3a3639358fb5f.tar.gz
upstream-4ea68a13e3195576ae87589b12f3a3639358fb5f.tar.bz2
upstream-4ea68a13e3195576ae87589b12f3a3639358fb5f.zip
include sys/resource.h in arch/um/os-Linux/start_up.c (#12155)
Required for recent (e)glibc systems SVN-Revision: 33569
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/uml/patches-3.3/001-include_sys_resource_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/uml/patches-3.3/001-include_sys_resource_h.patch b/target/linux/uml/patches-3.3/001-include_sys_resource_h.patch
new file mode 100644
index 0000000000..3804dee3fb
--- /dev/null
+++ b/target/linux/uml/patches-3.3/001-include_sys_resource_h.patch
@@ -0,0 +1,10 @@
+--- a/arch/um/os-Linux/start_up.c
++++ b/arch/um/os-Linux/start_up.c
+@@ -15,6 +15,7 @@
+ #include <sys/mman.h>
+ #include <sys/stat.h>
+ #include <sys/wait.h>
++#include <sys/resource.h>
+ #include <asm/unistd.h>
+ #include "init.h"
+ #include "os.h"