From 34d34b88b6b3d947de86dae81574bdde85b8d01e Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Mon, 11 Jul 2011 08:49:18 +0000 Subject: SMDKV310: Fix host compilation of mkv310_image Fix compilation of mkv310_image host tool tools/mkv310_image.c: In function 'main': tools/mkv310_image.c:67: error: 'S_IRUSR' undeclared (first use in this function) tools/mkv310_image.c:67: error: (Each undeclared identifier is reported only once tools/mkv310_image.c:67: error: for each function it appears in.) tools/mkv310_image.c:67: error: 'S_IWUSR' undeclared (first use in this function) tools/mkv310_image.c:67: error: 'S_IRGRP' undeclared (first use in this function) tools/mkv310_image.c:67: error: 'S_IWGRP' undeclared (first use in this function) tools/mkv310_image.c:67: error: 'S_IROTH' undeclared (first use in this function) tools/mkv310_image.c:67: error: 'S_IWOTH' undeclared (first use in this function) resulting from a 'make smdkv310_config'. Signed-off-by: Dirk Behme Signed-off-by: Minkyu Kang --- mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mmc_spl/board/samsung') diff --git a/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c b/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c index b98f23390f..1a51913f59 100644 --- a/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c +++ b/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c @@ -26,6 +26,7 @@ #include #include #include +#include #define CHECKSUM_OFFSET (14*1024-4) #define BUFSIZE (16*1024) -- cgit