um: add missing declaration of 'getrlimit()' and friends
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 29 Dec 2012 22:37:30 +0000 (01:37 +0300)
committerRichard Weinberger <richard@nod.at>
Mon, 11 Mar 2013 09:08:03 +0000 (10:08 +0100)
commitfdfa4c952844fce881df8c76de9c7180cbe913ab
tree491d44e21ede6f6bdefd249b4b276444d85d38a9
parent55ea1cfab24e37a347f1beae9f0b6724cad18f6b
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>
arch/um/os-Linux/start_up.c