Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Liu Aleaxander and committed by
Linus Torvalds
fb967ecc 032093bd

+1
+1
arch/um/os-Linux/mem.c
··· 10 10 #include <errno.h> 11 11 #include <fcntl.h> 12 12 #include <string.h> 13 + #include <sys/stat.h> 13 14 #include <sys/mman.h> 14 15 #include <sys/param.h> 15 16 #include "init.h"