From: Andrew Morton Date: Fri, 10 Aug 2007 20:01:06 +0000 (-0700) Subject: mtdchar build fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0c1eafdb063a3701eff24d21eb245e3b1d4ac7df;p=openwrt%2Fstaging%2Fblogic.git mtdchar build fix sh: drivers/mtd/mtdchar.c: In function `mtd_mmap': drivers/mtd/mtdchar.c:817: error: dereferencing pointer to incomplete type drivers/mtd/mtdchar.c:817: error: `VM_SHARED' undeclared (first use in this function) drivers/mtd/mtdchar.c:817: error: (Each undeclared identifier is reported only once Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 8c86b802f212..d091b2430b48 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include