summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-12-30 01:37:30 +0300
committerRichard Weinberger <richard@nod.at>2013-03-11 10:08:03 +0100
commitfdfa4c952844fce881df8c76de9c7180cbe913ab (patch)
tree491d44e21ede6f6bdefd249b4b276444d85d38a9 /arch
parent55ea1cfab24e37a347f1beae9f0b6724cad18f6b (diff)
downloadop-kernel-dev-fdfa4c952844fce881df8c76de9c7180cbe913ab.zip
op-kernel-dev-fdfa4c952844fce881df8c76de9c7180cbe913ab.tar.gz
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')
-rw-r--r--arch/um/os-Linux/start_up.c2
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 da4b9e9..337518c 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>
OpenPOWER on IntegriCloud