Message ID | 1310281314-5149-1-git-send-email-dirk.behme@gmail.com |
---|---|
State | Changes Requested |
Delegated to: | Minkyu Kang |
Headers | show |
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
different (?) mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c | 2 ++ 1 file changed, 2 insertions(+) Index: u-boot.git/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c =================================================================== --- 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> #define CHECKSUM_OFFSET (14*1024-4) #define BUFSIZE (16*1024)