From: Boaz Harrosh <bharrosh@panasas.com>
To: Liu Aleaxander <aleaxander@gmail.com>
Cc: jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [uml-devel] [PATCH] um: Include missing header file in os-linux/mem.c
Date: Tue, 15 Jun 2010 19:16:35 -0400 [thread overview]
Message-ID: <4C1809D3.7030707@panasas.com> (raw)
In-Reply-To: <AANLkTikziSEDW07YiiJs6ny6JLhSQ-TGvdw_kTroIIx5@mail.gmail.com>
On 06/15/2010 04:06 AM, Liu Aleaxander wrote:
> The os-linux/mem.c file calls fchmod function, which is declared in sys/stat.h
> header file, so include it.
>
Yes. I have the same patch.
Apparently it's new for Fedora 13. Previous Fedora's are compiling fine.
I guess something has changed with the new gcc headers include sequence
Thanks
Boaz
> Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
> ---
> arch/um/os-Linux/mem.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/um/os-Linux/mem.c b/arch/um/os-Linux/mem.c
> index 93a11d7..e696144 100644
> --- a/arch/um/os-Linux/mem.c
> +++ b/arch/um/os-Linux/mem.c
> @@ -10,6 +10,7 @@
> #include <errno.h>
> #include <fcntl.h>
> #include <string.h>
> +#include <sys/stat.h>
> #include <sys/mman.h>
> #include <sys/param.h>
> #include "init.h"
>
>
next prev parent reply other threads:[~2010-06-15 23:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-15 8:06 [PATCH] um: Include missing header file in os-linux/mem.c Liu Aleaxander
2010-06-15 23:16 ` Boaz Harrosh [this message]
2010-06-16 5:27 ` [uml-devel] " Liu Aleaxander
2010-06-29 8:35 ` Boaz Harrosh
2010-06-29 18:50 ` Andrew Morton
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=4C1809D3.7030707@panasas.com \
--to=bharrosh@panasas.com \
--cc=aleaxander@gmail.com \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--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