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 <aleaxan...@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" > > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel