]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tools: compiler.h: add missing time.h
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 25 Jun 2014 21:02:21 +0000 (23:02 +0200)
committerTom Rini <trini@ti.com>
Tue, 22 Jul 2014 11:44:25 +0000 (07:44 -0400)
commit9d16e93dc25025b29d3450537d180fd6e7c72e00
tree0f73add821295e0d70e6875578092c0ce8bf9ef3
parent4a755f1da52f2baee68888e21599dc8b80c89033
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>
include/compiler.h