diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2019-11-13 03:44:52 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-07 00:44:19 +0300 |
commit | bd3c3dd7fbb152412c16688cf3b70c6a302eda8a (patch) | |
tree | 07cbed924634fcca54a8f6facc9be0a4b782b165 /include/linux/time.h | |
parent | 29852bfc2296152baf31958092eb1f7384359185 (diff) | |
download | u-boot-bd3c3dd7fbb152412c16688cf3b70c6a302eda8a.tar.xz |
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>
Diffstat (limited to 'include/linux/time.h')
-rw-r--r-- | include/linux/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index dc9344a6d9..702dd276ae 100644 --- a/include/linux/time.h +++ b/include/linux/time.h @@ -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) |