diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-12-30 01:37:30 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2013-03-11 10:08:03 +0100 |
commit | fdfa4c952844fce881df8c76de9c7180cbe913ab (patch) | |
tree | 491d44e21ede6f6bdefd249b4b276444d85d38a9 /arch/um/os-Linux | |
parent | 55ea1cfab24e37a347f1beae9f0b6724cad18f6b (diff) | |
download | lwn-fdfa4c952844fce881df8c76de9c7180cbe913ab.tar.gz lwn-fdfa4c952844fce881df8c76de9c7180cbe913ab.zip |
um: add missing declaration of 'getrlimit()' and friends
arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':
arch/um/os-Linux/start_up.c:338:16: error: storage size of 'lim' isn't known
arch/um/os-Linux/start_up.c:339:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
CC: Jeff Dike <jdike@addtoit.com>
CC: Richard Weinberger <richard@nod.at>
CC: Al Viro <viro@zeniv.linux.org.uk>
CC: user-mode-linux-devel@lists.sourceforge.net
CC: user-mode-linux-user@lists.sourceforge.net
CC: linux-kernel@vger.kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r-- | arch/um/os-Linux/start_up.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c index da4b9e9999fd..337518c5042a 100644 --- a/arch/um/os-Linux/start_up.c +++ b/arch/um/os-Linux/start_up.c @@ -15,6 +15,8 @@ #include <sys/mman.h> #include <sys/stat.h> #include <sys/wait.h> +#include <sys/time.h> +#include <sys/resource.h> #include <asm/unistd.h> #include <init.h> #include <os.h> |