[U-Boot] [PATCH] SMDKV310: Fix host compilation of mkv310_image

2011-07-10 Thread Dirk Behme
From: Dirk Behme dirk.be...@googlemail.com 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

Re: [U-Boot] [PATCH] SMDKV310: Fix host compilation of mkv310_image

2011-07-10 Thread Mike Frysinger
On Sunday, July 10, 2011 03:01:54 Dirk Behme wrote: --- u-boot.git.orig/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c +++ u-boot.git/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c @@ -26,6 +26,8 @@ #include fcntl.h #include errno.h #include string.h +#define __KERNEL__