projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29852bf
)
linux/time.h: include vsprintf.h
author
AKASHI Takahiro
<takahiro.akashi@linaro.org>
Wed, 13 Nov 2019 00:44:52 +0000
(09:44 +0900)
committer
Tom Rini
<trini@konsulko.com>
Fri, 6 Dec 2019 21:44:19 +0000
(16:44 -0500)
Without this commit, time.h possibly causes a build error as
asctime_r() uses sprintf().
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
include/linux/time.h
patch
|
blob
|
history
diff --git
a/include/linux/time.h
b/include/linux/time.h
index dc9344a6d97b72bf19db5abc63c2a6c056998ea8..702dd276aea5e857a112b42fa6ab1f2efed59e27 100644
(file)
--- 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)