瀏覽代碼

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 年之前
父節點
當前提交
bd3c3dd7fb
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)