diff options
| author | AKASHI Takahiro <[email protected]> | 2019-11-13 09:44:52 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-12-06 16:44:19 -0500 |
| commit | bd3c3dd7fbb152412c16688cf3b70c6a302eda8a (patch) | |
| tree | 07cbed924634fcca54a8f6facc9be0a4b782b165 /include/linux | |
| parent | 29852bfc2296152baf31958092eb1f7384359185 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include/linux')
| -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 dc9344a6d97..702dd276aea 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) |
