From: Jeroen Hofstee Date: Wed, 25 Jun 2014 21:02:21 +0000 (+0200) Subject: tools: compiler.h: add missing time.h X-Git-Tag: v2014.10-rc1~111 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9d16e93dc25025b29d3450537d180fd6e7c72e00;p=oweals%2Fu-boot.git 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 Signed-off-by: Jeroen Hofstee --- 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 typedef unsigned long ulong; #endif +#include typedef uint8_t __u8; typedef uint16_t __u16;