From 9d16e93dc25025b29d3450537d180fd6e7c72e00 Mon Sep 17 00:00:00 2001 From: Jeroen Hofstee Date: Wed, 25 Jun 2014 23:02:21 +0200 Subject: 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 --- include/compiler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.1