From 0df270bfc5e4f644a267179b09d27b3422348d65 Mon Sep 17 00:00:00 2001 From: Dahua1992 <44988305+Dahua1992@users.noreply.github.com> Date: Tue, 13 Nov 2018 10:55:05 +0800 Subject: [PATCH] add #include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原因tm = gmtime_r(&now, &tm_tmp);报错 --- components/utilities/ulog/syslog/syslog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/utilities/ulog/syslog/syslog.c b/components/utilities/ulog/syslog/syslog.c index c392156697..7586148fbf 100644 --- a/components/utilities/ulog/syslog/syslog.c +++ b/components/utilities/ulog/syslog/syslog.c @@ -25,7 +25,9 @@ */ #ifdef ULOG_USING_SYSLOG + #include + #ifndef ULOG_SYSLOG_IDENT_MAX_LEN #define ULOG_SYSLOG_IDENT_MAX_LEN ULOG_FILTER_TAG_MAX_LEN #endif -- GitLab