[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1356820651-8495-1-git-send-email-slyfox@gentoo.org>
Date: Sun, 30 Dec 2012 01:37:30 +0300
From: Sergei Trofimovich <slyfox@...too.org>
To: unlisted-recipients:; (no To-header on input)
Cc: Sergei Trofimovich <slyfox@...too.org>,
Jeff Dike <jdike@...toit.com>,
Richard Weinberger <richard@....at>,
Al Viro <viro@...iv.linux.org.uk>,
user-mode-linux-devel@...ts.sourceforge.net,
user-mode-linux-user@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] 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@...too.org>
CC: Jeff Dike <jdike@...toit.com>
CC: Richard Weinberger <richard@....at>
CC: Al Viro <viro@...iv.linux.org.uk>
CC: user-mode-linux-devel@...ts.sourceforge.net
CC: user-mode-linux-user@...ts.sourceforge.net
CC: linux-kernel@...r.kernel.org
---
arch/um/os-Linux/start_up.c | 2 ++
1 file changed, 2 insertions(+)
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>
--
1.8.0.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists