diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-09-27 09:21:01 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-09-27 09:21:01 +0000 |
commit | 0d211243f7b77b5a9707058c6b716b29fa4c9ea1 (patch) | |
tree | 0e0f3b3d2e19e300fc9a974726f8d32cc83530fa /target/linux/uml | |
parent | 335b61f11a0cf771a6ec80bfd128707a5b35d377 (diff) | |
download | upstream-0d211243f7b77b5a9707058c6b716b29fa4c9ea1.tar.gz upstream-0d211243f7b77b5a9707058c6b716b29fa4c9ea1.tar.bz2 upstream-0d211243f7b77b5a9707058c6b716b29fa4c9ea1.zip |
[uml] include sys/resource.h in arch/um/os-Linux/start_up.c (#12155)
Required for recent (e)glibc systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33569 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/uml')
-rw-r--r-- | target/linux/uml/patches-3.3/001-include_sys_resource_h.patch | 10 |
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" |