fix missing include for time

Signed-off-by: Andy Green <andy.green@linaro.org>