]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
linux/time.h: include vsprintf.h
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 13 Nov 2019 00:44:52 +0000 (09:44 +0900)
committerTom 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

index dc9344a6d97b72bf19db5abc63c2a6c056998ea8..702dd276aea5e857a112b42fa6ab1f2efed59e27 100644 (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)