The POSIX manpage for getrlimit(3) requires sys/resource.h to be
included. This header used to be included by sys/wait.h in glibc.
As of glibc 2.16 however, this is not the case anymore, thus breaking
the compilation.
Signed-off-by: Vianney le Clément de Saint-Marcq
---
arch/um/os-Linux
From: Vianney le Clément de Saint-Marcq
As of glibc 2.16, sys/wait.h does no longer include sys/resource.h,
which is needed for getrlimit(). This patch fixes compiling UML with
glibc 2.16.
Signed-off-by: Vianney le Clément de Saint-Marcq
---
--- linux-3.5/arch/um/os-Linux/start_up.c.orig 2012