diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-06-25 23:02:21 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-22 07:44:25 -0400 |
commit | 9d16e93dc25025b29d3450537d180fd6e7c72e00 (patch) | |
tree | 0f73add821295e0d70e6875578092c0ce8bf9ef3 /include | |
parent | 4a755f1da52f2baee68888e21599dc8b80c89033 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h index 0734ed4942..9afc11be19 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; |