linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Anton Ivanov <aivanov@Brocade.com>
To: "user-mode-linux-devel@lists.sourceforge.net"
	<user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] [PATCH] Missing includes in start up
Date: Sun, 8 Nov 2015 15:18:04 +0000	[thread overview]
Message-ID: <563F66E2.6060509@brocade.com> (raw)
In-Reply-To: <1446994702-21240-1-git-send-email-aivanov@brocade.com>

Hi Richard,

This is vs your tree, 4.x master branch in linus repo actually has 
sys/resource.h

Pls ignore the patch.

A.

On 08/11/15 14:58, Anton Ivanov wrote:
> Modifying RLIMIT requires including sys/time.h and sys/resource.h
>
> Signed-off-by: Anton Ivanov <aivanov@brocade.com>
> ---
>   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 425162e..c1811df 100644
> --- a/arch/um/os-Linux/start_up.c
> +++ b/arch/um/os-Linux/start_up.c
> @@ -16,6 +16,8 @@
>   #include <sys/stat.h>
>   #include <sys/wait.h>
>   #include <asm/unistd.h>
> +#include <sys/time.h>
> +#include <sys/resource.h>
>   #include "init.h"
>   #include "os.h"
>   #include "mem_user.h"

------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


  reply	other threads:[~2015-11-08 16:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-08 14:58 [uml-devel] [PATCH] Missing includes in start up Anton Ivanov
2015-11-08 15:18 ` Anton Ivanov [this message]
2015-11-08 22:38   ` Richard Weinberger
2015-11-08 22:43     ` Anton Ivanov

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=563F66E2.6060509@brocade.com \
    --to=aivanov@brocade.com \
    --cc=user-mode-linux-devel@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;
as well as URLs for NNTP newsgroup(s).