From: Sergei Trofimovich <slyich@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
user-mode-linux-user@lists.sourceforge.net,
stable@vger.kernel.org, Sergei Trofimovich <slyfox@gentoo.org>
Subject: [PATCH 1/2] um: add missing declaration of 'getrlimit()' and friends
Date: Sun, 24 Feb 2013 00:11:46 +0300 [thread overview]
Message-ID: <1361653907-14510-2-git-send-email-slyich@gmail.com> (raw)
In-Reply-To: <1361653907-14510-1-git-send-email-slyich@gmail.com>
From: Sergei Trofimovich <slyfox@gentoo.org>
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>
---
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.1.2
next prev parent reply other threads:[~2013-02-23 21:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-23 21:11 [PATCH 0/2] um: fix minor build failures Sergei Trofimovich
2013-02-23 21:11 ` Sergei Trofimovich [this message]
2013-02-23 21:11 ` [PATCH 2/2] um: fix build failure due to mess-up of sig_info protorype Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2012-12-29 22:37 [PATCH 1/2] um: add missing declaration of 'getrlimit()' and friends Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1361653907-14510-2-git-send-email-slyich@gmail.com \
--to=slyich@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=slyfox@gentoo.org \
--cc=stable@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=user-mode-linux-user@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®