um: os-linux/mem.c needs sys/stat.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, June 30, 2010 - 5:59 pm

Gitweb:     http://git.kernel.org/linus/fb967ecc584c20c74a007de749ca597068b0fcac
Commit:     fb967ecc584c20c74a007de749ca597068b0fcac
Parent:     032093bd44ac935ed3792ef592f94497d491cd8b
Author:     Liu Aleaxander <aleaxander@gmail.com>
AuthorDate: Tue Jun 29 15:05:40 2010 -0700
Committer:  Linus Torvalds <torvalds@linux-foundation.org>
CommitDate: Tue Jun 29 15:29:32 2010 -0700

    um: os-linux/mem.c needs sys/stat.h
    
    The os-linux/mem.c file calls fchmod function, which is declared in sys/stat.h
    header file, so include it.  Fixes build breakage under FC13.
    
    Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
    Acked-by: Boaz Harrosh <bharrosh@panasas.com>
    Cc: Jeff Dike <jdike@addtoit.com>
    Cc: <stable@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 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"
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next mes