genimg_print_time uses time_t, but time.h is never included. Linux gets away with this since types.h includes time.h. Explicitly include the header file so building on e.g. FreeBSD also works.
cc: Tom Rini <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]> --- include/compiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/compiler.h b/include/compiler.h index 0734ed4..9afc11b 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -48,6 +48,7 @@ # include <machine/endian.h> typedef unsigned long ulong; #endif +#include <time.h> typedef uint8_t __u8; typedef uint16_t __u16; -- 1.8.3.2 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

