[lkml]   [2011]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[24/35] um: os-linux/mem.c needs sys/stat.h
2.6.32-longterm review patch.  If anyone has any objections, please let us know.


From: Liu Aleaxander <>

commit fb967ecc584c20c74a007de749ca597068b0fcac upstream.

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 <>
Acked-by: Boaz Harrosh <>
Cc: Jeff Dike <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>
Signed-off-by: Greg Kroah-Hartman <>

arch/um/os-Linux/mem.c | 1 +
1 file changed, 1 insertion(+)

--- 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"

 \ /
  Last update: 2011-07-09 08:03    [from the cache]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site