linux/time.h: include vsprintf.h

Without this commit, time.h possibly causes a build error as
asctime_r() uses sprintf().

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
This commit is contained in:
AKASHI Takahiro 2019-11-13 09:44:52 +09:00 committed by Tom Rini
parent 29852bfc22
commit bd3c3dd7fb
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#define _LINUX_TIME_H
#include <rtc.h>
#include <vsprintf.h>
#include <linux/types.h>
#define _DEFUN(a,b,c) a(c)