include sys/resource.h in arch/um/os-Linux/start_up.c (#12155)
authorFlorian Fainelli <florian@openwrt.org>
Thu, 27 Sep 2012 09:21:01 +0000 (09:21 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 27 Sep 2012 09:21:01 +0000 (09:21 +0000)
Required for recent (e)glibc systems

SVN-Revision: 33569

target/linux/uml/patches-3.3/001-include_sys_resource_h.patch [new file with mode: 0644]

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 (file)
index 0000000..3804dee
--- /dev/null
@@ -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"