[U-Boot] [PATCH v2 06/17] linux/time.h: include vsprintf.h
AKASHI Takahiro
takahiro.akashi at linaro.org
Fri Oct 25 10:07:38 UTC 2019
Without this commit, time.h possibly causes a build error as
asctime_r() uses sprintf().
Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
---
include/linux/time.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/time.h b/include/linux/time.h
index dc9344a6d97b..702dd276aea5 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)
--
2.21.0
More information about the U-Boot
mailing list