From 2b71587b0da22ec843730baceae7dca082650bd6 Mon Sep 17 00:00:00 2001 From: Liu Aleaxander Date: Tue, 29 Jun 2010 15:05:40 -0700 Subject: [PATCH] um: os-linux/mem.c needs sys/stat.h 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(+) diff --git a/arch/um/os-Linux/mem.c b/arch/um/os-Linux/mem.c index 93a11d7edfa0..e696144d2be3 100644 --- a/arch/um/os-Linux/mem.c +++ b/arch/um/os-Linux/mem.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include "init.h" -- 2.39.5