Browse Source

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>
AKASHI Takahiro 4 years ago
parent
commit
bd3c3dd7fb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/linux/time.h

+ 1 - 0
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)