提交 9d16e93d 编写于 作者: J Jeroen Hofstee 提交者: Tom Rini

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: NJeroen Hofstee <jeroen@myspectrum.nl>
上级 4a755f1d
......@@ -48,6 +48,7 @@
# include <machine/endian.h>
typedef unsigned long ulong;
#endif
#include <time.h>
typedef uint8_t __u8;
typedef uint16_t __u16;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册