mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
tools: compiler.h: add missing time.h
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 <trini@ti.com> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
4a755f1da5
commit
9d16e93dc2
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
||||||
# include <machine/endian.h>
|
# include <machine/endian.h>
|
||||||
typedef unsigned long ulong;
|
typedef unsigned long ulong;
|
||||||
#endif
|
#endif
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
typedef uint8_t __u8;
|
typedef uint8_t __u8;
|
||||||
typedef uint16_t __u16;
|
typedef uint16_t __u16;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue