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

Mike Frysinger vapier at gentoo.org
Mon Jul 11 04:22:44 CEST 2011


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__
> +#include <linux/stat.h>

yikes, no.  use standard sys/stat.h.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110710/a509d0c0/attachment.pgp 


More information about the U-Boot mailing list